[Javascript] Event question and finding pointer position atevent

Mike Dougherty mdougherty at pbp.com
Tue Mar 28 16:29:14 CST 2006


from: http://www.quirksmode.org/js/events_order.html

Events bubble up
Events are captured down

bubbling is stopped by window.event.cancelBubble = true;
capture is stopped by e.stopPropagation()



On Tue, 28 Mar 2006 22:11:42 +0000
  "Troy III Ajnej" <trojani2000 at hotmail.com> wrote:
>> > I always think of bubbling up or capturing, but not bubbling down.
> 
>>Sorry, poor usage on my part. I was thinking down because child elements
>>usually display on top of their parents, but events do bubble (as bubbles
>>do) /up/ the DOM tree.
> 
> Well that's true, events bubble up. Bubble is a term invented by
> IE folks and it's true 100% for IE 4 and later browsers.
> But, events can buble down in certain browsers.
> I remember I've read somewhere that in NN events bubble down.
> Posibly inherited by other Mozillas to?
> That's why I asked a month ago about FX bubbling, "does events bubble
> up or down on FX? But nobody answered anything... I guess that's why
> I didn't bother checking further.
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Troy III
> progressive art Enterprise
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE! 
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 
> 
> 
> __________________________________________________________
> This message was scanned by ATX
> 5:12:18 PM ET - 3/28/2006




More information about the Javascript mailing list