Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layers losing visibility when mouseOver text

Status
Not open for further replies.

Streetdaddy

Programmer
Jun 10, 1999
161
AU
I have some simple <DIV> layers that are made visible when the user rolls over a button image. But when I mouseOver text in the layer, the layer seems to 'flicker'. I can't reproduce it every time, but it only seems to be an IE problem.

Has anyone ever experienced this before? I think the <DIV> background image is what is flickering... s-) Miles
vmiles@senet.com.au
 
I have had this before, when I was making a pop up menu with links inside. Apparently the browser thinks you are mousing out of the div when the mouse goes over text, or links.

I accidentally avoided this because I was capturing mouseOver documentwide in order to change the class of the links (I had not found out about hover yet!). I am not sure why this stopped the problem. ;-)
b2 - benbiddington@surf4nix.com
 
so you gave the text and links mouseOver behaviours as well? Miles
vmiles@senet.com.au
 
No I only had links in there - but if you can stop the event from happening then it should work. IE5 has a cancelBubble function - which stops events being passed on to document level - so if the div doesn't know mouseout occurs - it won't hide, hope this helps:


;-)


b2 - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top