944,047 Members | Top Members by Rank

Ad:
Apr 9th, 2005
0

Background image flickers in IE....

Expand Post »
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
Similar Threads
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Apr 9th, 2005
0

Re: Background image flickers in IE....

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!
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004
Apr 9th, 2005
1

Re: Background image flickers in IE....

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...
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004
Apr 10th, 2005
0

Re: Background image flickers in IE....

Ahh, that worked like a charm. Thanks man
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Apr 11th, 2005
0

Re: Background image flickers in IE....

No problem - glad you made sense of the explanation...
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Sort Tables...
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Container Table for Exact Positioning in all Res





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC