onmouseover/out: bug in IE6 ?

J

Jeroni Paul

I've been testing this code:

<IMG src="button.gif"
onmousemove="return false;"
onclick="return false;"
onmouseout="src='button.gif'; window.status='it has been called'"
onmouseover="src='down.gif';">

It appears onmouseout is not called when a mouse button is kept pressed
while mouse cursor is brought outside the picture, but it is not true:
onmouseout is called! To see it in action, bring mouse cursor over the
picture with all its buttons released, then keep primary button down and
take mouse cursor outside the picture. You will see the text appear in the
status bar!! but the picture will remain unchanged. This is because
onmouseover is called just after onmouseout, when I see no reason for this
call to happen, and so restores the down.gif picture.

Is that a bug from IE6??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top