User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 422,945 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,618 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 3850 | Replies: 4
Reply
Join Date: Apr 2004
Location: minneapolis, mn
Posts: 35
Reputation: BlackDice is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Javascript making image disappear?

  #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?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2005
Location: Ottawa, Ontario, Canada
Posts: 959
Reputation: belama is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
belama's Avatar
belama belama is offline Offline
Posting Shark

Re: Javascript making image disappear?

  #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  
Join Date: Apr 2004
Location: minneapolis, mn
Posts: 35
Reputation: BlackDice is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Re: Javascript making image disappear?

  #3  
Mar 11th, 2005
I got it - after I changed the name and id of the image, it works now
Reply With Quote  
Join Date: Mar 2005
Location: Ottawa, Ontario, Canada
Posts: 959
Reputation: belama is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
belama's Avatar
belama belama is offline Offline
Posting Shark

Re: Javascript making image disappear?

  #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  
Join Date: Apr 2004
Location: minneapolis, mn
Posts: 35
Reputation: BlackDice is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Re: Javascript making image disappear?

  #5  
Mar 11th, 2005
Yes, that was exactly the problem
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 2:18 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC