PDA

View Full Version : Need help with Ultimate Fade_in Slideshow



teresamar2
03-25-2007, 02:12 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: I keep getting an error with this slideshow.

It says, line 84, Char: 1, "0" is null and not an object

It wouldn't let me paste the script here but u can see it at http://www.ttcollectiblegifts.com/untitled1.html

Any help is appreciated, thank you.

jscheuer1
03-25-2007, 02:19 AM
In javascript, counting almost always starts with 0. You need to renumber your array entries (red):


fadeimages[0[=["rattle_memory_box_set_lg.jpg", "http://www.ttcollectiblegifts.com/baby.html"] //image with link syntax
fadeimages[1[=["paisley_14002_lg.jpg", "http://www.ttcollectiblegifts.com/fringe.html"] //image with link syntax
fadeimages[2[=["burlwood_bowls.jpg", "http://www.ttcollectiblegifts.com/shanmu.html"] //image with link and syntax
fadeimages[3[=["3672_bronze2_.jpg", "http://www.ttcollectiblegifts.com/marcchantal.html"] //image with link syntax
fadeimages[4[=["ill_fly_away.jpg", "http://www.ttcollectiblegifts.com/womenoftheway.html"] //image with link syntax
fadeimages[5[=["candy_cane_corner_lg.jpg", "http://www.ttcollectiblegifts.com/northpole.html"] //image with link syntax