| | |
Background image flickers in IE....
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved
![]() |
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

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
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!
I'll take a look at this in a few hours time - remind me if I haven't looked at it before monday!
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...
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...
No problem - glad you made sense of the explanation...
![]() |
Similar Threads
- Making a Background Image a Link (HTML and CSS)
- Random Background image (HTML and CSS)
- background image alignment (HTML and CSS)
- Dreamweaver background image refresh (Graphics and Multimedia)
- background image - help (HTML and CSS)
- problem with background image repeat-y (HTML and CSS)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Sort Tables...
- Next Thread: Container Table for Exact Positioning in all Res
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxexample ajaxjspservlets automatically beta box browser bug captchaformproblem checkbox close codes createrange() css cursor debugger decimal dependent disablefirebug dom download dropdown editor element engine enter error events explorer ext file firefox form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe index internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump listbox maps masterpage math media menu microsoft mp4 object onmouseoutdivproblem onreadystatechange paypal pdf php player position problem programming progressbar prototype redirect regex runtime safari scale scriptlets search security select size software sql text textarea unicode w3c window windowofwords windowsxp wysiwyg \n





