onmouseover/out: bug in IE6 ?

Discussion in 'Javascript' started by Jeroni Paul, Sep 9, 2003.

  1. Jeroni Paul

    Jeroni Paul Guest

    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??
     
    Jeroni Paul, Sep 9, 2003
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.