From: Benoit M. <mar...@ma...> - 2003-03-24 23:37:55
|
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 ? > > oncontentchange - triggered by setHTML() - in 3.0 > onlocationchange - triggered by setHTML() - in 3.0 What have onlocationchange to do with setHTML ? Typo ? > onresize - triggered by setHTML() - in 3.0 What have onresize to do with setHTML ? Typo ? > > 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. Benoit > > -- > Raymond Irving > > > __________________________________________________ > 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |