Jump to content
  • 0

div+JS в качестве фона


Rams
 Share

Question

Доброго времени суток уважаемые форумчане !

Имеется JS для плавной смены изображений (slideshow)

Как сделать так чтобы вот это

<div class="slideshow">
<img id="aro-1a" alt=""
src="http://site.com/images/17.jpg"
width="268" height="201" />
</div>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
new fx.Slideshow
("17.jpg,18.jpg,19.jpg,20.jpg",
{ hu: "http://site.com/", n: "1"})
//--><!]]>
</script>

было фоном для строки

<tr>
<td width="239" class="top3"><div class="login">{login}</div></td>
<td class="top1"> </td>
</tr>

в данный момент фон задается в CSS

.top1{width:1000px; height:256px; background:url(../images/img_header.jpg) top right no-repeat;}
.top1 img{margin:35px 0 0 36px;}
.top2{height:30px;}
.top3{width:239px; height:256px; background:url(../images/img_header.jpg) top left no-repeat;}

Или возможны ли какие либо другие способы ? так чтобы поверх этих сменяющих друг друга изображений было следующее

<div class="login">{login}</div>

Edited by Rams
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy