Javascript making image disappear?

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Apr 2004
Posts: 45
Reputation: BlackDice is an unknown quantity at this point 
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Javascript making image disappear?

 
0
  #1
Mar 11th, 2005
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?
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 960
Reputation: belama is an unknown quantity at this point 
Solved Threads: 2
belama's Avatar
belama belama is offline Offline
Posting Shark

Re: Javascript making image disappear?

 
0
  #2
Mar 11th, 2005
Could you post your page and JS so someone could take a look at what you've done?
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 45
Reputation: BlackDice is an unknown quantity at this point 
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Re: Javascript making image disappear?

 
0
  #3
Mar 11th, 2005
I got it - after I changed the name and id of the image, it works now
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 960
Reputation: belama is an unknown quantity at this point 
Solved Threads: 2
belama's Avatar
belama belama is offline Offline
Posting Shark

Re: Javascript making image disappear?

 
0
  #4
Mar 11th, 2005
Originally Posted by BlackDice
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?
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 45
Reputation: BlackDice is an unknown quantity at this point 
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Re: Javascript making image disappear?

 
0
  #5
Mar 11th, 2005
Yes, that was exactly the problem
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC