So when I disable bubbling, I  have to do it each time?
I was not aware of this.
Thank you Kevin.
For once someone actualy explained something instead of snearing down his
nose at someone who "just don't get it"

Now I understand.


----- Original Message -----
From: "Kevin" <[EMAIL PROTECTED]>
To: "Dynapi-Dev" <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 2:46 PM
Subject: Re: [Dynapi-Dev] Re: setbubble


> > Doug Melvin <[EMAIL PROTECTED]> wrote:
> > Why would you want to disable bubbling?
> > (sarcasm intended)
> >
> > If you can turn a built-in feature off.. you should be able to turn it
back
> > on again.
>
> In DynAPI event handlers can only be added to the event bubble phase
> (well to be precise NS4 is capture only).
>
> So the layer/div gets the event first and calls it's listener if defined.
>
> Now the event bubbles and the parent gets the event and calls it's
> listener if defined, unless you disable bubbling in the listener on
> that layer.
>
> The event cycle is now over so turning bubble back on is meaningless.
>
> Bubble will be on by default for the next event cycle.
>
> Kevin.
>
> > ----- Original Message -----
> > From: "Raymond Irving" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, March 21, 2003 1:21 PM
> > Subject: Re: [Dynapi-Dev] Re: setbubble
> >
> >
> > >
> > > --- Doug Melvin <[EMAIL PROTECTED]> wrote:
> > > > found Event.preventBubble()
> > > > but there is no Event.allowBubble()
> > > >
> > > > I am adding setBubble(bool);
> > >
> > > Why would you want to call an allowBubble() after
> > > you've called a preventBubble()? The idea behind this
> > > was that it was unnecessary to do so. Thus the
> > > setBubble was thrown out.
> > >
> > > DynAPI 3.0 will require all of us to rethink our
> > > widgets/application designs, thus making better use of
> > > our "limited" resources.
> > >
> > > --
> > > Raymond Irving
> > >
> > > >   ----- Original Message -----
> > > >   From: Doug Melvin
> > > >   To: [EMAIL PROTECTED]
> > > >   Sent: Friday, March 21, 2003 2:21 PM
> > > >   Subject: setbubble
> > > >
> > > >
> > > >   what's the equive to setBubble(false)?
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> > > http://platinum.yahoo.com
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by:Crypto Challenge is now open!
> > > Get cracking and register here for some mind boggling fun and
> > > the chance of winning an Apple iPod:
> > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> > > _______________________________________________
> > > Dynapi-Dev mailing list
> > > [EMAIL PROTECTED]
> > > http://www.mail-archive.com/[EMAIL PROTECTED]/
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by:Crypto Challenge is now open!
> > Get cracking and register here for some mind boggling fun and
> > the chance of winning an Apple iPod:
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://www.mail-archive.com/[EMAIL PROTECTED]/
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/
>



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to