By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,812 Members | 1,288 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,812 IT Pros & Developers. It's quick & easy.

Netscape 7 + div + position:fixed + onmouseover : bug ?

P: n/a
There seems to be a bug with the events mouseOut and mouseOver of divs
when their position is fixed : when you enter the div with the mouse,
three events are fired in this order : over, out, over.

It works as expected with IE6.

Is this a known problem ?
Is there any workaround ?


--- Sample code to try -----------------------------------------

<script language=javascript>

var T = "";

function pOver (e)
T +=" over";

function pOut (e)
T +=" out";



<div Style="border:solid 1px #000000; position: fixed; left: 50px;
top: 100px; width: 100px; height: 100px;"
onMouseOver="pOver (event);"

<div Style="border:solid 1px #000000; position: absolute; left: 200px;
top: 100px; width: 100px; height: 100px;"
onMouseOver="pOver (event);"

Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
I haven't checked this myself, but have you checked that
the target of all three events is the same div?
I think that may have been an issue for me when I was
fiddling with mouseOver and Out a while back.

Jul 20 '05 #2

P: n/a
The three events (over, out and over) are fired to same div as can be
checked with

I cannot find a reason for it to work correctly when position is
absolute and not when position is fixed.

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.