Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: How to do a popup box Date: Sun, 05 Jul 2015 10:48:04 +0200 Organization: PointedEars Software (PES) Lines: 21 Message-ID: <18415558.Stt7bB5khN@PointedEars.de> References: <41326d5d-0202-44e4-911b-6474f8f89bc8@googlegroups.com> <87r3oygtgi.fsf@bsb.me.uk> <87zj3e74p7.fsf@bsb.me.uk> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: solani.org 1436086260 23439 eJwFwYERADAEBLCVtPw741DsP0ITKA+fG0HDYn1YdVeuTBdUlv32VfnRFM9QUqenrcMjDR8yPBG+ (5 Jul 2015 08:51:00 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 5 Jul 2015 08:51:00 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNy8EBwEAEBMCWQliUc4ftv4Rk/uMvBB0GhzmdKWplrOneQ1ZMT9zWoMowc/LIxZsb5fKHPauPzE1UU1EfeDQWSg== Cancel-Lock: sha1:WaJMv8UIS8Wh+Aei1BZ+RopBB9U= X-NNTP-Posting-Host: eJwFwQkBwDAIA0BLfKFUToHFv4TdwVNzTiQyQPBgOyqqdOzyTA8v3MQc+p7sJ8oaoTpfm+8PFaoRIg== Xref: csiph.com comp.lang.javascript:28267 Ben Bacarisse wrote: > bit-naughty@hotmail.com writes: >> 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). Event propagation/flow is not as trivial as you present it to be. I find the diagram in the W3C UI Events Specification (formerly, DOM Level 3 Events), most instructive: -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.