onmouseout events are swallowed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pavils Jurjans

    #1

    onmouseout events are swallowed

    Hello,

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

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

    function trace(msg) {
    var oTrace = document.getEle mentById('trace ');
    oTrace.innerHTM L += '<br>' + msg;
    }

    </script>
    </head>

    <body>
    <table border=1>
    <tr><td width=200 onmouseover="tr ace('01')"
    onmouseout="tra ce('02')">ABC</td></tr>
    <tr><td width=200 onmouseover="tr ace('11')"
    onmouseout="tra ce('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
  • John

    #2
    Re: onmouseout events are swallowed

    pavils@mailbox. riga.lv (Pavils Jurjans) wrote in
    news:95e252b8.0 403050118.40000 52e@posting.goo gle.com:
    [color=blue]
    > Hello,
    >
    > This is the simple code I use:
    > *************** *************** *************** *************** **********
    >
    > <html><head><ti tle> Evt test </title>
    > <script>
    >
    > function trace(msg) {
    > var oTrace = document.getEle mentById('trace ');
    > oTrace.innerHTM L += '<br>' + msg;
    > }
    >
    > </script>
    > </head>
    >
    > <body>
    > <table border=1>
    > <tr><td width=200 onmouseover="tr ace('01')"
    > onmouseout="tra ce('02')">ABC</td></tr>
    > <tr><td width=200 onmouseover="tr ace('11')"
    > onmouseout="tra ce('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
    >[/color]

    Move your mouse slower ;-)

    Comment

    Working...