PDA

View Full Version : Left right slideshow script



Katrina
01-14-2005, 08:22 PM
I've just installed the image slideshow script into my site. All the images are working properly but just before my first image starts the word "undefined" is posted in the slideshow.. I've checked and rechecked the script and cant find the problem :(

cr3ative
01-15-2005, 07:55 AM
Hmm. Post a link to the script (I think you're talking about http://www.dynamicdrive.com/dynamicindex14/leftrightslide2.htm )

Also, post the code you are using or a link to your website which it is not working on.

cr3ative

Katrina
01-19-2005, 08:56 PM
the link for the slideshow is this http://dynamicdrive.com/dynamicindex14/leftrightslide2.htm
and the link to my site where i have the sideshow listed is
www.katstreasuresndesign.com/tubesview.html

cr3ative
01-19-2005, 09:07 PM
Ah, I see.

I think you need to start your array numbering from 0, not from 1.

So change this:


slideimages[1]='<img src="charmsheet1KAD.gif">'
slideimages[2]='<img src="heartsKAD1.gif">'
slideimages[3]='<img src="tree1KAD.gif">'
slideimages[4]='<img src="flowersample2.gif">'
slideimages[5]='<img src="flowersample3.gif">'
slideimages[6]='<img src="butterflysample3.psd.gif">'
slideimages[7]='<img src="animal2KAD.gif">'
slideimages[8]='<img src="accentswirlsKAD1.gif">'
slideimages[9]='<img src="redswirlKAD.psd.gif">'
slideimages[10]='<img src="crayonsKAD1.gif">'
slideimages[11]='<img src="ladybugKAD1.psd.gif">'
slideimages[12]='<img src="treasurechestKAD.gif">'

To this:


slideimages[0]='<img src="charmsheet1KAD.gif">'
slideimages[1]='<img src="heartsKAD1.gif">'
slideimages[2]='<img src="tree1KAD.gif">'
slideimages[3]='<img src="flowersample2.gif">'
slideimages[4]='<img src="flowersample3.gif">'
slideimages[5]='<img src="butterflysample3.psd.gif">'
slideimages[6]='<img src="animal2KAD.gif">'
slideimages[7]='<img src="accentswirlsKAD1.gif">'
slideimages[8]='<img src="redswirlKAD.psd.gif">'
slideimages[9]='<img src="crayonsKAD1.gif">'
slideimages[10]='<img src="ladybugKAD1.psd.gif">'
slideimages[11]='<img src="treasurechestKAD.gif">'

cr3ative