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 373,927 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,257 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: 4019 | Replies: 4 | Solved
Reply
Join Date: Feb 2005
Posts: 354
Reputation: DanceInstructor is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 12
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Background image flickers in IE....

  #1  
Apr 9th, 2005
DaveSW I hope you will help me

At this site. There is a vertical menu on the left side of the page. It uses some javascript for styling and animation. It works fine and looks good in firefox, but in IE as you hover over the different menu options the background will disappear and in the status bar you will see a message about downloading images. All classes in the rollover have the same background image. Any ideas as to how to prevent the flicker and redownload?

Thanks
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Background image flickers in IE....

  #2  
Apr 9th, 2005
Hey Dance Instructor
I'll take a look at this in a few hours time - remind me if I haven't looked at it before monday!
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Background image flickers in IE....

  #3  
Apr 9th, 2005
The problem appears to be that the menu uses javascript to change the cell id onMouseOver and onMouseOut. This means that the background is specified in both. IE clearly thinks it's two different images. (SM_c becomes SMcs)

I suggest you take all the references to the dkback.gif out of the SM_c and SM_cs items, and add a containing div around the menus which will then have the background in it. That won't change on mouseover, and should solve your problem.

If you want me to work on it further, can you zip up a html page with the menu on it, and the associated images and css files? It would be awkward to make a new stylesheet for it without the ability to test it...
Reply With Quote  
Join Date: Feb 2005
Posts: 354
Reputation: DanceInstructor is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 12
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: Background image flickers in IE....

  #4  
Apr 10th, 2005
Ahh, that worked like a charm. Thanks man
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Background image flickers in IE....

  #5  
Apr 11th, 2005
No problem - glad you made sense of the explanation...
Reply With Quote  
Reply

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

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

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

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