Ok... I have this:
How do I take the "slideCaption" (ID) paragraph and make it work with the array slideshowcaptions("Caption 1","Caption 2","Caption 3","Caption 4") relating to the different images?HTML Code:<h3>Our Homes</h3> <div class="slideshowBox"><a href="javascript:gotoshow()"><img src="food1.jpg" name="slide" /></a></div> <p id="slideCaption" class="caption">Sawyer Crest | Maple Valley, WA</p> </div> <script> <!-- //configure the paths of the images, plus corresponding target links slideshowimages("10.jpg","09.jpg","01.jpg","05.jpg") slideshowlinks("#","#","#","#") slideshowcaptions("Caption 1","Caption 2","Caption 3","Caption 4") //configure the speed of the slideshow, in miliseconds var slideshowspeed=2000 var whichlink=0 var whichimage=0 function slideit(){ if (!document.images) return document.images.slide.src=slideimages[whichimage].src whichlink=whichimage if (whichimage<slideimages.length-1) whichimage++ else whichimage=0 setTimeout("slideit()",slideshowspeed) } slideit() //--> </script>


Reply With Quote

Bookmarks