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 |
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.../ > |
From: Raymond I. <xw...@ya...> - 2003-03-25 04:41:09
|
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 |
From: Doug M. <do...@cr...> - 2003-03-25 04:44:56
|
in cvs yet? ----- 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.../ > |
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 |
From: Doug M. <do...@cr...> - 2003-03-25 05:00:25
|
kool.. I'll have to re-write the scrollbar once the new code is in. Currently the scrollbar actually overwrites the setSize method of the bound layer to allow detection of the layer's resizing.. This overloading is only done it you have specified that the scroll bar should automatically resize it's knob. ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "DynAPI-Dev" <dyn...@li...> Sent: Monday, March 24, 2003 8:56 PM Subject: Re: [Dynapi-Dev] New (or renamed) Events > > --- 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 > > > ------------------------------------------------------- > 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.../ > |