lo_volt
03-28-2006, 03:32 PM
SCript: Ultimate Fade-in slideshow (v1.5)
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
Hello, I've been trying to implement the Ulitmate Slideshow (http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm) script and I'm having trouble linking to my images.
Can someone please point out just where I put the image path into? As I see it, it goes in this section:
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
But where?! Forgive my dumbness, but I can't get it! Do I also need to add the path in this section someplace?
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
</script>
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
Hello, I've been trying to implement the Ulitmate Slideshow (http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm) script and I'm having trouble linking to my images.
Can someone please point out just where I put the image path into? As I see it, it goes in this section:
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
But where?! Forgive my dumbness, but I can't get it! Do I also need to add the path in this section someplace?
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
</script>