Terts
08-31-2007, 01:08 AM
1) Script Title: Ultimate Fade-in slideshow
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: I copied the code exactly from the page, and am trying to have two slideshows on the page, with both of them allowing the pause. If I have them both in the same script tag, it will allow both to pause. But, if I try to put them in two different script tags (so that I can do the alignment I need), only the second one pauses. Any idea why this is? is there a fix I can do to the main script code?
Here is the HTML:
<div id="rug-left"><script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 250, 350, 0, 3000, 1)
</script></div>
<div id="rug-right"><script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages2, 250, 350, 0, 3000, 1)
</script></div>
and here is the CSS:
#rug-left {
float: left;
margin: 0 40px 0 38px;
padding: 0;
}
#rug-right {
position: relative;
margin: 0;
padding: 0;
}
Thanks for any help!
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: I copied the code exactly from the page, and am trying to have two slideshows on the page, with both of them allowing the pause. If I have them both in the same script tag, it will allow both to pause. But, if I try to put them in two different script tags (so that I can do the alignment I need), only the second one pauses. Any idea why this is? is there a fix I can do to the main script code?
Here is the HTML:
<div id="rug-left"><script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 250, 350, 0, 3000, 1)
</script></div>
<div id="rug-right"><script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages2, 250, 350, 0, 3000, 1)
</script></div>
and here is the CSS:
#rug-left {
float: left;
margin: 0 40px 0 38px;
padding: 0;
}
#rug-right {
position: relative;
margin: 0;
padding: 0;
}
Thanks for any help!