annoying html problem

weezergirl

Diamond Member
May 24, 2000
3,366
1
0
i used a script from dynamic drive for this scrolling pic thing...i tried it out on my comp and it works fine. but when i upload it and view it....it only shows one pic scrolling?!?!! i made sure all the pics are uploaded fine and everything. i didn't change a thing from my desktop to my server....why does it mess up?

http://www.girlrobot.net/flower.html

:(
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
leftrightslide[0]='<a href="IMG_1107.JPG"><img src="f4.JPG" border=0></a>'
leftrightslide[1]='<a href="IMG_1108.JPG"><img src="f1.jpg" border=0></a>'
leftrightslide[2]='<a href="IMG_1105.JPG"><img src="f2.JPG" border=0></a>'
leftrightslide[3]='<a href="IMG_1106.JPG"><img src="f3.JPG" border=0></a>'
leftrightslide[3]='<a href="IMG_1109.JPG"><img src="f5.JPG" border=0></a>'

Try changing .JPG to .jpg

Just an observation, the only one that works is named .jpg instead of .JPG.

Also, this is javascript problem, not HTML :)
 

weezergirl

Diamond Member
May 24, 2000
3,366
1
0
Originally posted by: CorporateRecreation
leftrightslide[0]='<a href="IMG_1107.JPG"><img src="f4.JPG" border=0></a>'
leftrightslide[1]='<a href="IMG_1108.JPG"><img src="f1.jpg" border=0></a>'
leftrightslide[2]='<a href="IMG_1105.JPG"><img src="f2.JPG" border=0></a>'
leftrightslide[3]='<a href="IMG_1106.JPG"><img src="f3.JPG" border=0></a>'
leftrightslide[3]='<a href="IMG_1109.JPG"><img src="f5.JPG" border=0></a>'

Try changing .JPG to .jpg

omg. i'm retarded. thank you...i wonder why i didn't notice that. thanks so much!!!!!
 

Platypus

Lifer
Apr 26, 2001
31,046
321
136
Originally posted by: weezergirl
Originally posted by: CorporateRecreation
leftrightslide[0]='<a href="IMG_1107.JPG"><img src="f4.JPG" border=0></a>'
leftrightslide[1]='<a href="IMG_1108.JPG"><img src="f1.jpg" border=0></a>'
leftrightslide[2]='<a href="IMG_1105.JPG"><img src="f2.JPG" border=0></a>'
leftrightslide[3]='<a href="IMG_1106.JPG"><img src="f3.JPG" border=0></a>'
leftrightslide[3]='<a href="IMG_1109.JPG"><img src="f5.JPG" border=0></a>'

Try changing .JPG to .jpg

omg. i'm retarded. thank you...i wonder why i didn't notice that. thanks so much!!!!!

You're welcome, cool little script :)