Hmmm...do you have a link we can look at, because without seeing the whole document and all of the scripts, it's hard to know exactly what's going on, since it looks like some of your JS variables might be global. I was just assuming that some of the variables were being declared incorrectly, but maybe not? (For example, the "imspan" variable is declared, but never used???) Do you know what those variables are supposed to be referencing - which images, etc?
Quote:
Originally Posted by patter
I also don't see an open img statement. Would you please point that out, along with any suggestions if you have them?
|
I got a little bit too far ahead of myself. It depends on what your doctype is, but if you have an xHTML doctype, you should close the image tag with a forward slash like <img src="" /> instead of <img src="">. But in all honesty, it doesn't really matter - the browser will figure it out anyways.