K
Kevin Ly
Consider the test case below. The onmouseout event does NOT fire when
my mouse/cusor is moved off the left side of the browser. It does if
it is moved off the top, bottom, and the right side that HAS THE
SCROLLBAR (does not if the right side does not have the scrollbar on).
Also, if you move around each "this is a test" line, the onmouseout
event fires. How odd? Fortunately, I can have logic to handle this.
The big problem is why the onmouseout event does not fire when the
cursor is moved off the left side of the browser (and right side if
there is no scroll bar)? Is this a known bug or something I don't
know? Is there a way to get around this?
<html>
<head>
<title>test</title>
<script>
function foo(e)
{
alert('mouseout');
}
document.addEventListener("mouseout", foo, true);
</script>
</head>
<body>
This is a test<br>
This is a test<br>
This is a test<br>
</body>
</html>
Any info would be appreciated!
Kevin
my mouse/cusor is moved off the left side of the browser. It does if
it is moved off the top, bottom, and the right side that HAS THE
SCROLLBAR (does not if the right side does not have the scrollbar on).
Also, if you move around each "this is a test" line, the onmouseout
event fires. How odd? Fortunately, I can have logic to handle this.
The big problem is why the onmouseout event does not fire when the
cursor is moved off the left side of the browser (and right side if
there is no scroll bar)? Is this a known bug or something I don't
know? Is there a way to get around this?
<html>
<head>
<title>test</title>
<script>
function foo(e)
{
alert('mouseout');
}
document.addEventListener("mouseout", foo, true);
</script>
</head>
<body>
This is a test<br>
This is a test<br>
This is a test<br>
</body>
</html>
Any info would be appreciated!
Kevin