onmouseout events are swallowed

Discussion in 'Javascript' started by Pavils Jurjans, Mar 5, 2004.

  1. Hello,

    This is the simple code I use:
    **********************************************************************

    <html><head><title> Evt test </title>
    <script>

    function trace(msg) {
    var oTrace = document.getElementById('trace');
    oTrace.innerHTML += '<br>' + msg;
    }

    </script>
    </head>

    <body>
    <table border=1>
    <tr><td width=200 onmouseover="trace('01')"
    onmouseout="trace('02')">ABC</td></tr>
    <tr><td width=200 onmouseover="trace('11')"
    onmouseout="trace('12')">DEF</td></tr>
    </table>
    <br><br><div id="trace"></div>
    </body>
    </html>

    **********************************************************************

    I can quickly move mouse over the cells so that some of them never
    fires the
    onmouseout event. That havens in IE6 as well as latest Firebird, you
    just have to move the mouse quickly enough, an it may not fail the
    very first time you test. Why is this so, and how can I avoid this? I
    have a DHTML
    application that is failing die to this sort of event loss.

    Thank you,

    -- Pavils
     
    Pavils Jurjans, Mar 5, 2004
    #1
    1. Advertising

  2. Pavils Jurjans

    John Guest

    (Pavils Jurjans) wrote in
    news::

    > Hello,
    >
    > This is the simple code I use:
    > **********************************************************************
    >
    > <html><head><title> Evt test </title>
    > <script>
    >
    > function trace(msg) {
    > var oTrace = document.getElementById('trace');
    > oTrace.innerHTML += '<br>' + msg;
    > }
    >
    > </script>
    > </head>
    >
    > <body>
    > <table border=1>
    > <tr><td width=200 onmouseover="trace('01')"
    > onmouseout="trace('02')">ABC</td></tr>
    > <tr><td width=200 onmouseover="trace('11')"
    > onmouseout="trace('12')">DEF</td></tr>
    > </table>
    > <br><br><div id="trace"></div>
    > </body>
    > </html>
    >
    > **********************************************************************
    >
    > I can quickly move mouse over the cells so that some of them never
    > fires the
    > onmouseout event. That havens in IE6 as well as latest Firebird, you
    > just have to move the mouse quickly enough, an it may not fail the
    > very first time you test. Why is this so, and how can I avoid this? I
    > have a DHTML
    > application that is failing die to this sort of event loss.
    >
    > Thank you,
    >
    > -- Pavils
    >


    Move your mouse slower ;-)
     
    John, Mar 5, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Roberts
    Replies:
    3
    Views:
    34,691
    Nathan Sokalski
    Jan 28, 2006
  2. Roger Pack
    Replies:
    1
    Views:
    124
    Ken Bloom
    Feb 8, 2009
  3. Tom
    Replies:
    6
    Views:
    142
  4. Steve Macleod
    Replies:
    2
    Views:
    159
    Steve Macleod
    May 20, 2006
  5. Jean-Guy Mouton

    Problem with too many onmouseout events

    Jean-Guy Mouton, Oct 15, 2007, in forum: Javascript
    Replies:
    9
    Views:
    144
    David Mark
    Oct 17, 2007
Loading...

Share This Page