Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #14695
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: onmouseout Bug or Feature |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <pvmhu79f6at5pmli6h55p0qhtsemq5519i@4ax.com> <XnsA07EAA4BB549eejj99@194.109.133.133> <kcvhu75inscmttvnjonsb6508lp94s0nap@4ax.com> |
| Message-ID | <XnsA07F97D7412eejj99@194.109.133.133> (permalink) |
| Date | 2012-06-26 22:03 +0000 |
Gene Wirchenko wrote on 26 jun 2012 in comp.lang.javascript: > On 25 Jun 2012 23:02:47 GMT, "Evertjan." > <exxjxw.hannivoort@inter.nl.net> wrote: > >>Gene Wirchenko wrote on 25 jun 2012 in comp.lang.javascript: > > [snip] > >>> Due to the alert(), the mouse cursor is no longer on the image so >>> mouseout technically has occurred. onmouseout does not fire. Is this >>> behaviour deliberate, a bug, or undefined as such? >> >>It is correct behavour,meseems. >> >>The problem is in your programming. >> >>You should not programme an alert() on Ajax error, >>when such alert() breaks wanted behavour. >> >>If a warning is necessary, you could display it in a span or div, >>perhaps a position fixed div mimicking an alert. > > Experimental code. Must easier to throw in an alert(). Another > case of debugging changing program behaviour. Ok. It could break you up in time or mouse-position critical applications. Continuing after a breakpoint usually is not advisable in these cases, try: alert( 'breakpoint 3, the value of a being: ' + a ); stopMeNow() where stopMeNow() is not a defined function. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
onmouseout Bug or Feature Gene Wirchenko <genew@ocis.net> - 2012-06-25 14:57 -0700
Re: onmouseout Bug or Feature "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-25 23:02 +0000
Re: onmouseout Bug or Feature Gene Wirchenko <genew@ocis.net> - 2012-06-25 17:11 -0700
Re: onmouseout Bug or Feature "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-26 22:03 +0000
Re: onmouseout Bug or Feature Gene Wirchenko <genew@ocis.net> - 2012-06-26 16:36 -0700
csiph-web