| | |
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 ajaxexample ajaxjspservlets array browser bug captchaformproblem cart checkbox child class close codes cookies createrange() css cursor date debugger decimal dependent design disablefirebug dom dropdown editor element embed engine enter events explorer ext file firefox focus form forms frameworks getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe images index internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump libcurl listbox maps masterpage math media menu mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent paypal pdf php position post programming progressbar prototype redirect runtime safari scale scriptlets scroll search security session shopping size software toggle unicode variables web wysiwyg \n





