From: Raymond I. <xw...@ya...> - 2003-03-24 23:01:39
|
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 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. -- Raymond Irving __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |