Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mutiple image rollover problem 1

Status
Not open for further replies.

futilemonk

Technical User
Apr 26, 2006
20
US
Hello and thanks to everyone that makes this forum what it is!

I have a script that works beautifully : it allows a user to roll over several pictures and it changes one larger picture each time.

The problem is that if I try to use it twice on one page it doesn't work.

Here is where it works:
and here is where it doesnt:
If i comment out either table the other will work by itself, but when both tables are on the page neither one works.

If anyone can help me understand why this is so I will be forever greatful!

If you need me to paste the script let me know, I am new to this.

Thanks
 
Why do you have 2 <img>s named pic1? Which pic1 is supposed to change with which mouseover?

Lee
 
I wish I knew. I didnt write the script but it seems to work.
 
No, it DOESN'T work, and that's because you have 2 <img>s with the same name. Just trying to get you to look at the code and see what the problem is.

Lee
 
I appreciate that, but i dont understand javascript very well so looking at it is about all I can do.

When I said it works I mean it works I meant it works here:
Does it not work there for you if you hover over the view buttons?
 
AHA!

Trollacious your a Genious!!

Forgive me for my ignorance

And Thanks So MUCH
 
I see you got it fixed. That was actually an HTML error more than Javascript, as you saw. :)#

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top