Click to See Complete Forum and Search --> : Javascript "next img" problems.


jefferooo
11-17-2003, 04:09 AM
Hello, i've put a 'next/prev img" javascript on a web-page i'm designing for a client. The page functions perfect on my local server, but on my remote server it does not work properly. Here is the link.

http://www.kemmurchproductions.com/corp.htm

I'm a novice at javascript, and the deadline for the web-site is today, so any advice is much appreciated. Thanks.

Jeff P

Gollum
11-17-2003, 04:36 AM
The problem appears to be in the case sensitivity of the URLs to your images...

in your code, your images are described thusly...

theImages="images/quotes/corp_quote1.gif, images/quotes/corp_quote2.gif, images/quotes/corp_quote3.gif, images/quotes/corp_quote4.gif, images/quotes/corp_quote5.gif".split(", ");

yet the images directory on the server is spelt with a capital "I".
Change that and it should start working for you.

jefferooo
11-17-2003, 04:53 AM
Gollum, you're awesome. Thanks for finding that soo fast, i never would have noticed that tiny detail. Thanks again, you saved me.

Jeff