954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Javascript making image disappear?

I have a row of images on the left side of a web page that act as buttons with javascript for the changing of the image if it's rolled over. That works fine on most of the pages because besides that they're all text. Now I've created a few new pages with graphics on them on the main part of the page and everytime I hover over one of the images/buttons the graphic on the main part of the page disappears for good. I'm VERY new at html/js. Can anyone tell me what the problem might be?

BlackDice
Light Poster
43 posts since Apr 2004
Reputation Points: 19
Solved Threads: 0
 

Could you post your page and JS so someone could take a look at what you've done?

belama
Posting Shark
963 posts since Mar 2005
Reputation Points: 19
Solved Threads: 2
 

I got it - after I changed the name and id of the image, it works now

BlackDice
Light Poster
43 posts since Apr 2004
Reputation Points: 19
Solved Threads: 0
 
I got it - after I changed the name and id of the image, it works now


So there was something else with the same name/id?

belama
Posting Shark
963 posts since Mar 2005
Reputation Points: 19
Solved Threads: 2
 

Yes, that was exactly the problem

BlackDice
Light Poster
43 posts since Apr 2004
Reputation Points: 19
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You