PDA

View Full Version : onmouseover issue in IE


chump2877
11-24-2007, 11:19 AM
I've created the following slide show (http://www.mediamogulsweb.com/client/JS_slide_show/).

I've noticed that in IE (7), that you have to mouseover a certain part of either the "nav_tab_right" or "nav_tab_left" divs in order to trigger the mouseover event and display the image inside the div.

My guess is that IE doesn;t like the fact that either div is essentially empty before the mouseover event reveals the image inside of them...The div's have width and height CSS properties set, but that doesn;t seem to help in IE...It almost seems like the div needs some initial contents (in IE) in order for the mouseover event to work properly...

BTW - the mouseover effect works correctly in FireFox.

Any thoughts? Thanks...

name _F1
11-24-2007, 11:29 AM
Try using visibility:hidden rather than display:none.

chump2877
11-24-2007, 12:09 PM
Awesome, thanks! :thumbsup:

I so rarely use visibility property, I forgot what it was good for....