Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28255
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: How to do a popup box |
| Date | 2015-07-02 20:13 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87zj3e74p7.fsf@bsb.me.uk> (permalink) |
| References | <41326d5d-0202-44e4-911b-6474f8f89bc8@googlegroups.com> <e938961f-d229-4860-aa49-8c8d2c87ed88@googlegroups.com> <mmj9fl$p7i$1@dont-email.me> <87r3oygtgi.fsf@bsb.me.uk> <cc310794-5505-4381-9060-cea00db8bd50@googlegroups.com> |
bit-naughty@hotmail.com writes: > On Saturday, June 27, 2015 at 12:58:37 AM UTC+5:30, Ben Bacarisse wrote: >> > > OK, I'm trying to understand this *without* opening my JS book, That's going to be hard work. You don't need a book but you will need some reference. I often use MDN (developer.mozilla.org). > 1) Can you please explain the function (evt) stuff? Like if you define > a function that way, it'll automatically call the function with an > argument of the "event" (which will be an object), the properties of > which you can access with evt.clientY and X? Is that what's going on? That's pretty much it, yes. > 2) What is evt.stopPropagation() ? https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation You'll probably get what event propagation is immediately if you try the page with and without that call (I posted a working page). <snip> -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to do a popup box bit-naughty@hotmail.com - 2015-06-25 12:18 -0700
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-06-25 21:29 +0200
Re: How to do a popup box Scott Sauyet <scott.sauyet@gmail.com> - 2015-06-25 13:02 -0700
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-06-25 22:10 +0200
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-06-25 22:05 +0200
Re: How to do a popup box Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-25 22:18 +0200
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-06-25 22:25 +0200
Re: How to do a popup box bit-naughty@hotmail.com - 2015-06-25 22:55 -0700
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-06-26 09:14 +0200
Re: How to do a popup box bit-naughty@hotmail.com - 2015-06-25 22:54 -0700
Re: How to do a popup box Gregor Kofler <usenet@gregorkofler.com> - 2015-06-26 12:29 +0200
Re: How to do a popup box Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-06-26 20:28 +0100
Re: How to do a popup box bit-naughty@hotmail.com - 2015-07-02 11:14 -0700
Re: How to do a popup box Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-07-02 20:13 +0100
Re: How to do a popup box Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-05 10:48 +0200
Re: How to do a popup box Tim Streater <timstreater@greenbee.net> - 2015-07-02 20:30 +0100
Re: How to do a popup box Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-06-26 11:34 +0100
Re: How to do a popup box bit-naughty@hotmail.com - 2015-06-26 12:36 -0700
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-06-26 21:58 +0200
Re: How to do a popup box bit-naughty@hotmail.com - 2015-07-02 11:06 -0700
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-02 22:01 +0200
Re: How to do a popup box Tim Streater <timstreater@greenbee.net> - 2015-06-26 22:32 +0100
Re: How to do a popup box "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-27 01:41 +0200
Re: How to do a popup box Tim Streater <timstreater@greenbee.net> - 2015-06-27 08:51 +0100
Re: How to do a popup box "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-06-27 09:57 +0200
Re: How to do a popup box Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-06-29 15:39 +0200
Re: How to do a popup box bit-naughty@hotmail.com - 2015-07-02 11:08 -0700
Re: How to do a popup box "Leonardo Azpurua" <leonardo@exmvps.org> - 2015-06-30 12:32 -0430
Re: How to do a popup box bit-naughty@hotmail.com - 2015-07-02 11:16 -0700
csiph-web