From: Raymond I. <xw...@ya...> - 2003-03-25 04:56:33
|
--- Doug Melvin <do...@cr...> wrote: > in cvs yet? Not as yet. I'm finishing up the FocusManager, so maybe tomorrow. -- Raymond Irving > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: "DynAPI-Dev" <dyn...@li...> > Sent: Monday, March 24, 2003 8:41 PM > Subject: Re: [Dynapi-Dev] New (or renamed) Events > > > > > > Please see below: > > > > --- Benoit Marchant <mar...@ma...> wrote: > > > See below > > > On Monday, March 24, 2003, at 03:01 PM, Raymond > > > Irving wrote: > > > > > > > Hello everyone, > > > > > > > > If you can recall, last week we had a > discussion > > > on > > > > the following events: > > > > > > > > onload - triggered by setHTML() - in dynapi > 2.x > > > > onmove - triggered by moveTo() - in dynapi 2.x > > > > onresize - triggered by setSize() - in dynapi > 2.x > > > > > > > > Well, I've added these with minor impact on > > > > performance: > > > What's the impact, just out of curiosity ? > > > > Well, if the parent layer has a onresize event nut > > it's children does not, the invokeEvent() will > still > > have to cycle through the children and invoke the > > event. IMO I think onresize and onlocationchange > > should hardly be used. > > > > > > > > > > oncontentchange - triggered by setHTML() - in > 3.0 > > > > onlocationchange - triggered by setHTML() - in > 3.0 > > > What have onlocationchange to do with setHTML ? > Typo > > > ? > > > > Yes, that's a typo. It's triggered by setLocation > > > > > > > > > onresize - triggered by setHTML() - in 3.0 > > > What have onresize to do with setHTML ? Typo ? > > > > Same as above. This is triggered by setSize() > > > > > > 1) I've renamed onmove to onlocationchange to > keep > > > up > > > > with setLocation() naming convention. > > > > > > > > 2) Renamed onload to oncontentchange - IMO > onload > > > > should be reserved for loadpanels, loadlayers, > etc > > > > > > > > Any comments on the above? > > > > > > > > In addition to the above I've added the > fllowing: > > > > > > > > 1) setMaximumSize(), setMinimumSize() and > > > > setBorder(w,c) to dynlayer_base.js. > > > > > > > > 2) DynLayer.prototype.setDragMode(b,boundry) > to > > > > DragEvents > > > > > > > > 3) FocusManager - setFocus(b,bubble,type). > > > Example: > > > > > > > > - sets lyr as topmost layer and forces it's > > > parents > > > > and grandparants to become topmost layer > inside > > > their > > > > parent: > > > > > > > > lyr.setFocus(true); > > > > > > > > - set's lyr as topmost layer when it's > clicked: > > > > > > > > lyr.setFocus('auto',true) > > > > Or > > > > lyr.setFocus('auto',true,'click') > > > > > > > > > > > > - set's lyr as topmost layer when mouse is > passed > > > over > > > > it: > > > > > > > > lyr.setFocus('auto',true,'hover') > > > > > > > > Any comments? > > > > > > > > PS. These should be in cvs by now and > tomorrow. > > > > > > So once that is in, I'll modify the new api in > > > dragevent to be on > > > dynlayers rather than on DragEvent. > > > > Ok, that sounds great. > > > > -- > > Raymond Irving > > > > > Benoit > > > > > > > > > __________________________________________________ > > 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: > > The Definitive IT and Networking Event. Be There! > > NetWorld+Interop Las Vegas 2003 -- Register today! > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |