[thelist] preventing onClick events firing

Matt Warden mwarden at gmail.com
Fri Oct 20 09:13:13 CDT 2006


On 10/20/06, ben morrison <morrison.ben at gmail.com> wrote:
> Also I would like to include an area where the onclick event doesn't
> execute, so the user can select more options:
>
> ---------------------------
> | onclick here       |
> |  -----------------      |
> |  | override    |      |
> |  -----------------       |
> ---------------------------
>
> I've been using onclick= function() {}
>
> I'm guessing that I should use addListeners as this has to do with
> events and bubbling, this is something i've never used and slightly
> confused by it.

So are most people, because it's not very sane across platforms.

http://developer.yahoo.com/yui/docs/event/YAHOO.util.Event.html#stopPropagation


-- 
Matt Warden
Cleveland, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.



More information about the thelist mailing list