PDA

View Full Version : Help - Ultimate Fade-in slideshow (v1.5)



Ballara
11-13-2006, 10:59 AM
1) Script Title: Ultimate Fade-in slideshow (v1.5)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:
What a great script, i just want to have a background image in the table that the slideshow sits on top of e.g.

<td width="207" rowspan="2" valign="top" background="/images/en_CC/IMAGEHERE.gif"><div align="center">
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 220, 353, 0, 3000, 0)
new fadeshow(fadeimages2, 220, 353, 0, 3000, 0)

</script></div></td>

The slideshow kicks this down below it and i would like to know if its possible to have them overlap?

THANK YOU!!!!

jscheuer1
11-13-2006, 11:12 AM
The containing division is probably not necessary. The width of the cell should be at least equal to, perhaps even a little greater than the width of the sideshow(s). If you are only using one slideshow, get rid of the call that you are not using:


<td width="207"


new fadeshow(fadeimages, 220, 353, 0, 3000, 0)
new fadeshow(fadeimages2, 220, 353, 0, 3000, 0)

There could be other problems.

Ballara
11-13-2006, 11:26 AM
Hi Thanks for the quick reply, looks like the background was working but as the table was too long i was getting a tiled image that made it look like it was being pushed below.
Dont suppose you know of a way to make a background image get used ONLY once?

Thanks!

jscheuer1
11-13-2006, 12:32 PM
The background attribute has been deprecated. Background images should be applied using css style, here is an example:


<td width="207" rowspan="2" valign="top" style="background: red url('/images/en_CC/IMAGEHERE.gif') center top no-repeat;">

It is best to specify a color with an image. I used red but, you can use any you like.