From: Kevin <ke...@ke...> - 2003-03-25 00:48:35
|
Fwd to Dynapi-Dev. > Please see my comments below: > ----- > Kevin. > > > Raymond Irving <xw...@ya...> 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: > > > > oncontentchange - triggered by setHTML() - in 3.0 > > onlocationchange - triggered by setHTML() - in 3.0 > > onresize - triggered by setHTML() - in 3.0 > > Could you include an example of usage of these events? > Also is there a built in fix to the NS4 resize bug to force > a redraw on onresize? > > > 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 > > Where was onload used before? I remember a change to > the main dynapi.onLoad( function() {...} ) and onUnload. > Is there an onload and onunload not relating to document > loading events? > > > 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. > > I like the border idea. Is it possible to go all the way > and add margin and padding too. CSS syntax? > > > 2) DynLayer.prototype.setDragMode(b,boundry) to > > DragEvents > > > > 3) FocusManager - setFocus(b,bubble,type). Example: > > > I am working on the TabManager now. Quite a challenge > seeing as the tab key is so special and hardcoded to change > focus to the address bar, links, sidebars, favourites etc. I > nearly gave up and used the arrow keys. But now I have a > working prototype using the tab key. I've just got to make > it dynapish. > > > - 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? > > A nice demo would be most appreciated. > > > PS. These should be in cvs by now and tomorrow. > > > > -- > > Raymond Irving > > > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > |