You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(75) |
Nov
(252) |
Dec
(418) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(659) |
Feb
(1039) |
Mar
(870) |
Apr
(235) |
May
(329) |
Jun
(251) |
Jul
(123) |
Aug
(119) |
Sep
(67) |
Oct
(194) |
Nov
(535) |
Dec
(133) |
2002 |
Jan
(122) |
Feb
(24) |
Mar
(29) |
Apr
(28) |
May
(16) |
Jun
(20) |
Jul
(11) |
Aug
(12) |
Sep
(13) |
Oct
(14) |
Nov
(23) |
Dec
(19) |
2003 |
Jan
(28) |
Feb
(170) |
Mar
(288) |
Apr
(211) |
May
(126) |
Jun
(166) |
Jul
(131) |
Aug
(102) |
Sep
(211) |
Oct
(301) |
Nov
(22) |
Dec
(6) |
2004 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
|
May
(8) |
Jun
(25) |
Jul
(21) |
Aug
(2) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(1) |
2005 |
Jan
(4) |
Feb
(2) |
Mar
(14) |
Apr
(24) |
May
(3) |
Jun
(7) |
Jul
(30) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: Raymond I. <xw...@ya...> - 2003-04-28 14:34:45
|
--- Doug Melvin <do...@cr...> wrote: > what is this for? This will allow DynAPI to set the width/height of the layer if its was defined via a style sheet. For example, lyr.setClass('myclass',true) will cause dynapi to use "myclass" to setup the css properties for the DynLayer. If no css width/height were defined in the style sheet then the content width/height will be used as the dynlayer's width/height. -- Raymond Irving > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: "Dynapi-Dev" <Dyn...@li...> > Sent: Sunday, April 27, 2003 11:10 PM > Subject: Re: [Dynapi-Dev] DynLayer and setClass() > > > > Kevin, > > > > Proposed DynLayer functions for use within > > assignElement(): > > > > p.getElmWidth = function(){ > > var w = parseInt(this.css.width); > > if(isNaN(w)) w=this.getContentWidth(); > > return w; > > }; > > p.getElmHeight = function(){ > > var h = parseInt(this.css.height); > > if(isNaN(h)) h=this.getContentWidth(); > > return h; > > }; > > > > while DynLayer._assignElement will now use: > > > > if (dlyr.html!=null && dlyr.html!='' && > (dlyr.w==null > > || dlyr.h==null)) { > > var cw = (dlyr.w==null)? dlyr.getElmWidth() : > null; > > var ch = (dlyr.h==null)? dlyr.getElmHeight() : > null; > > dlyr.setSize(cw,ch); > > } > > > > > > Please run a performance test on this to see if it > is > > ok. > > > > > > Any comments, suggestions? > > > > > > -- > > Raymond Irving > > > > > > --- Kevin <ke...@ke...> wrote: > > > > > > "Raymond Irving" <xw...@ya...> wrote: > > > > > > > > > Hi, > > > > > > > > > > > > > > > When using setClass('whatever',true) you > should > > > always > > > > > create dynlayer with width and height or 0. > This > > > is to > > > > > prevent dynlayer from attempting to autosize > the > > > > > layer. > > > > > > I disagree the w & h should be defaulted to null > in > > > the > > > constructor and not be touched until > _assignElement. > > > > > > > > It was suggested once that we get the width > and > > > the > > > > > height from the style of the layer, but that > > > might not > > > > > be a good thing to do as style sheets can > use > > > > > different values for width and height: > > > > > > > > > > width:100px; height:100px; > > > > > width:100%; height:100%; > > > > > width:100cm; height:100cm; > > > > > > A user/developer knowing that pixels are > supported > > > would use px in style sheets as in the same way > > > lyr=new DynLayer('z',10,10,'100%',100%') > > > wouldn't be expected to work in any case. > > > > > > > > If a layer's style width inside the style > sheet > > > was > > > > > set to 100% then the dynlayer would report > the > > > wrong > > > > > size, correct? > > > > > > > > > > Any thoughts on this? Should we document > that > > > users > > > > > set the width and height to 0,0 when using > style > > > > > sheets? Or should we enable > > > DynLayer.assignElement() > > > > > to first check for a valid css width/height > > > before > > > > > calling getContentWidth/Height? > > > > > > Defaults as explained above. Then in > assignElement: > > > 1) call new methods getElmWidth() & > getElmHeight() > > > to satisfy the style sheet requirement > > > then if the user/developer hasn't specified a > style > > > object > > > or class > > > 2) call getContentWidth() & getContentHeight() > to > > > satisfy > > > the auto size requirement (single character > > > DynLayers etc) > > > > > > - > > > Kevin. > > > > > > > > > > > > > -- > > > > > Raymond Irving > > > > > > > > > > > > > > __________________________________________________ > > > > > Do you Yahoo!? > > > > > The New Yahoo! Search - Faster. Easier. > Bingo > > > > > http://search.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.../ > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > 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.../ > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.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.../ > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.476 / Virus Database: 273 - Release > Date: 4/24/2003 > > > === message truncated === __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-28 14:29:34
|
--- Mahidine Mendjeli <mme...@gh...> wrote: > It seems IE 6 SP1 doesn't allow the possibility to > fire an event when > the page is loaded!!! > so there is no possibility to create a Layer! > Does someone experimented this problem? What version of DynAPI are you using? This problem should have been fixed in 3.0 alpha 1 -- Raymond Irving > MM > > ----- Original Message ----- > From: <dyn...@li...> > To: <dyn...@li...> > Sent: Saturday, April 26, 2003 7:17 PM > Subject: Dynapi-Dev digest, Vol 1 #1021 - 3 msgs > > > > Send Dynapi-Dev mailing list submissions to > > dyn...@li... > > > > To subscribe or unsubscribe via the World Wide > Web, visit > > > https://lists.sourceforge.net/lists/listinfo/dynapi-dev > > or, via email, send a message with subject or body > 'help' to > > dyn...@li... > > > > You can reach the person managing the list at > > dyn...@li... > > > > When replying, please edit your Subject line so it > is more specific > > than "Re: Contents of Dynapi-Dev digest..." > > > > > > > ---------------------------------------------------------------------------- > ---- > > > > Today's Topics: > > > > 1. onCreate bug. (Doug Melvin) > > 2. Mozilla cotnentwidth bug. (Doug Melvin) > > 3. your email (postmaster) > > > > > ---------------------------------------------------------------------------- > ---- > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > https://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > > > > > ------------------------------------------------------- > 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.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Ramesh P. <ra...@in...> - 2003-04-28 13:24:01
|
hi, there's seems to be a painting issue with mozilla when a dynlayer containing a visible ioelement child is dragged. The child layer changes it's position even before the parent does. anybody experienced this ??? is there a way to overcome this??? regardz, ramesh pallikara -- QOTD: "I've always wanted to work in the Federal Mint. And then go on strike. To make less money." |
From: <ma...@bu...> - 2003-04-28 12:33:47
|
uh, create a blank page and write <script type="text/javascript"> window.onload = function() { alert("loaded"); }; </script> doesn't it work? > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of > Mahidine Mendjeli > Sent: den 28 april 2003 13:05 > To: dyn...@li... > Subject: [Dynapi-Dev] IE 6 SP1 and Onload event > > > It seems IE 6 SP1 doesn't allow the possibility to fire an > event when the page is loaded!!! so there is no possibility > to create a Layer! Does someone experimented this problem? > > MM > > ----- Original Message ----- > From: <dyn...@li...> > To: <dyn...@li...> > Sent: Saturday, April 26, 2003 7:17 PM > Subject: Dynapi-Dev digest, Vol 1 #1021 - 3 msgs > > > > Send Dynapi-Dev mailing list submissions to > > dyn...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/dynapi-dev > > or, via email, send a message with subject or body 'help' to > > dyn...@li... > > > > You can reach the person managing the list at > > dyn...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Dynapi-Dev digest..." > > > > > > > -------------------------------------------------------------- > -------------- > ---- > > > > Today's Topics: > > > > 1. onCreate bug. (Doug Melvin) > > 2. Mozilla cotnentwidth bug. (Doug Melvin) > > 3. your email (postmaster) > > > > > -------------------------------------------------------------- > -------------- > ---- > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > https://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > > > > > ------------------------------------------------------- > 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: Mahidine M. <mme...@gh...> - 2003-04-28 11:05:15
|
It seems IE 6 SP1 doesn't allow the possibility to fire an event when the page is loaded!!! so there is no possibility to create a Layer! Does someone experimented this problem? MM ----- Original Message ----- From: <dyn...@li...> To: <dyn...@li...> Sent: Saturday, April 26, 2003 7:17 PM Subject: Dynapi-Dev digest, Vol 1 #1021 - 3 msgs > Send Dynapi-Dev mailing list submissions to > dyn...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dynapi-dev > or, via email, send a message with subject or body 'help' to > dyn...@li... > > You can reach the person managing the list at > dyn...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dynapi-Dev digest..." > > ---------------------------------------------------------------------------- ---- > Today's Topics: > > 1. onCreate bug. (Doug Melvin) > 2. Mozilla cotnentwidth bug. (Doug Melvin) > 3. your email (postmaster) > ---------------------------------------------------------------------------- ---- > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-dev > > |
From: Doug M. <do...@cr...> - 2003-04-28 03:49:58
|
what is this for? ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "Dynapi-Dev" <Dyn...@li...> Sent: Sunday, April 27, 2003 11:10 PM Subject: Re: [Dynapi-Dev] DynLayer and setClass() > Kevin, > > Proposed DynLayer functions for use within > assignElement(): > > p.getElmWidth = function(){ > var w = parseInt(this.css.width); > if(isNaN(w)) w=this.getContentWidth(); > return w; > }; > p.getElmHeight = function(){ > var h = parseInt(this.css.height); > if(isNaN(h)) h=this.getContentWidth(); > return h; > }; > > while DynLayer._assignElement will now use: > > if (dlyr.html!=null && dlyr.html!='' && (dlyr.w==null > || dlyr.h==null)) { > var cw = (dlyr.w==null)? dlyr.getElmWidth() : null; > var ch = (dlyr.h==null)? dlyr.getElmHeight() : null; > dlyr.setSize(cw,ch); > } > > > Please run a performance test on this to see if it is > ok. > > > Any comments, suggestions? > > > -- > Raymond Irving > > > --- Kevin <ke...@ke...> wrote: > > > > "Raymond Irving" <xw...@ya...> wrote: > > > > > > > Hi, > > > > > > > > > > > > When using setClass('whatever',true) you should > > always > > > > create dynlayer with width and height or 0. This > > is to > > > > prevent dynlayer from attempting to autosize the > > > > layer. > > > > I disagree the w & h should be defaulted to null in > > the > > constructor and not be touched until _assignElement. > > > > > > It was suggested once that we get the width and > > the > > > > height from the style of the layer, but that > > might not > > > > be a good thing to do as style sheets can use > > > > different values for width and height: > > > > > > > > width:100px; height:100px; > > > > width:100%; height:100%; > > > > width:100cm; height:100cm; > > > > A user/developer knowing that pixels are supported > > would use px in style sheets as in the same way > > lyr=new DynLayer('z',10,10,'100%',100%') > > wouldn't be expected to work in any case. > > > > > > If a layer's style width inside the style sheet > > was > > > > set to 100% then the dynlayer would report the > > wrong > > > > size, correct? > > > > > > > > Any thoughts on this? Should we document that > > users > > > > set the width and height to 0,0 when using style > > > > sheets? Or should we enable > > DynLayer.assignElement() > > > > to first check for a valid css width/height > > before > > > > calling getContentWidth/Height? > > > > Defaults as explained above. Then in assignElement: > > 1) call new methods getElmWidth() & getElmHeight() > > to satisfy the style sheet requirement > > then if the user/developer hasn't specified a style > > object > > or class > > 2) call getContentWidth() & getContentHeight() to > > satisfy > > the auto size requirement (single character > > DynLayers etc) > > > > - > > Kevin. > > > > > > > > > > -- > > > > Raymond Irving > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > The New Yahoo! Search - Faster. Easier. Bingo > > > > http://search.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.../ > > > > > > > > > > > > ------------------------------------------------------- > > 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.../ > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.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.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 4/24/2003 |
From: Raymond I. <xw...@ya...> - 2003-04-28 03:11:01
|
Kevin, Proposed DynLayer functions for use within assignElement(): p.getElmWidth = function(){ var w = parseInt(this.css.width); if(isNaN(w)) w=this.getContentWidth(); return w; }; p.getElmHeight = function(){ var h = parseInt(this.css.height); if(isNaN(h)) h=this.getContentWidth(); return h; }; while DynLayer._assignElement will now use: if (dlyr.html!=null && dlyr.html!='' && (dlyr.w==null || dlyr.h==null)) { var cw = (dlyr.w==null)? dlyr.getElmWidth() : null; var ch = (dlyr.h==null)? dlyr.getElmHeight() : null; dlyr.setSize(cw,ch); } Please run a performance test on this to see if it is ok. Any comments, suggestions? -- Raymond Irving --- Kevin <ke...@ke...> wrote: > > "Raymond Irving" <xw...@ya...> wrote: > > > > > Hi, > > > > > > > > > When using setClass('whatever',true) you should > always > > > create dynlayer with width and height or 0. This > is to > > > prevent dynlayer from attempting to autosize the > > > layer. > > I disagree the w & h should be defaulted to null in > the > constructor and not be touched until _assignElement. > > > > It was suggested once that we get the width and > the > > > height from the style of the layer, but that > might not > > > be a good thing to do as style sheets can use > > > different values for width and height: > > > > > > width:100px; height:100px; > > > width:100%; height:100%; > > > width:100cm; height:100cm; > > A user/developer knowing that pixels are supported > would use px in style sheets as in the same way > lyr=new DynLayer('z',10,10,'100%',100%') > wouldn't be expected to work in any case. > > > > If a layer's style width inside the style sheet > was > > > set to 100% then the dynlayer would report the > wrong > > > size, correct? > > > > > > Any thoughts on this? Should we document that > users > > > set the width and height to 0,0 when using style > > > sheets? Or should we enable > DynLayer.assignElement() > > > to first check for a valid css width/height > before > > > calling getContentWidth/Height? > > Defaults as explained above. Then in assignElement: > 1) call new methods getElmWidth() & getElmHeight() > to satisfy the style sheet requirement > then if the user/developer hasn't specified a style > object > or class > 2) call getContentWidth() & getContentHeight() to > satisfy > the auto size requirement (single character > DynLayers etc) > > - > Kevin. > > > > > > > -- > > > Raymond Irving > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > The New Yahoo! Search - Faster. Easier. Bingo > > > http://search.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.../ > > > > > > ------------------------------------------------------- > 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.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-28 01:33:38
|
--- Doug Melvin <do...@cr...> wrote: > I second June 2nd.. > Beside.. I work better with a deadline.. > :-) > > For june 2 (wigets): > Button > PopUp Menu > ScrollBar > ScrollPane > ToolTip > DynTree > > That should pretty much keep me busy for the month.. > Any comments? Suggestions? Well the above sounds ok to me. The DynTree will be the most complex of them all but think the list should be ok for a beta version. -- Raymond Irving > > I would really like to start a conversation on the > design of the dynTree > > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: "DynAPI-Dev" <dyn...@li...> > Sent: Sunday, April 27, 2003 1:43 PM > Subject: Re: [Dynapi-Dev] DynAPI Beta Release > > > > > > See Below: > > > > --- Kevin <ke...@ke...> wrote: > > > "Raymond Irving" <xw...@ya...> wrote: > > > > > > > Hello Everyone, > > > > > > > > As mentioned eariler it would nice to try and > get > > > a > > > > release of the new dynapi out the the public > as > > > soon > > > > as possible. The polls on the dynapi web site > are > > > > showing that more persons want to see what 3.0 > is > > > all > > > > about. I'm of the believe that we are closing > in > > > on a > > > > stable release but would first like to get a > beta > > > > version out to the public. Do you agree that > we > > > > release a beta 1 to the public? > > > > > > > > On another note I would just like to hear how > > > things > > > > are going on the following libraries,etc. Can > we > > > have > > > > these in for the beta release? Need more time? > > > > > > > > * The new DynArea Library? > > > > > > > > * The new Snap Library? - Have not heard from > Leif > > > for > > > > sometime now. > > > > > > > > * The new TabManager/KeyEvents > Extensions/Library? > > > > > > I'd like a bit more time to show an example that > > > works > > > with relative positioning / style classes in > ns4. > > > Current > > > discussions relate to these areas. > > > > Ok, we also have some other key feature/functions > to > > resolve (such as getContentWidth, setBorder, etc) > so I > > guess we can set a beta release date for 2-June? > > > > -- > > Raymond Irving > > > > > > > > - > > > Kevin > > > > > > > * Widgets? How far gone are you Doug? > > > > > > > > * Documentation? Any updates? > > > > > > > > * Anyone working on porting the IOElement > > > server-side > > > > codes to other platforms? > > > > > > > > > > > > -- > > > > Raymond Irving > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > The New Yahoo! Search - Faster. Easier. Bingo > > > > http://search.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.../ > > > > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.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.../ > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.476 / Virus Database: 273 - Release > Date: 4/24/2003 > > > > ------------------------------------------------------- > 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.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Doug M. <do...@cr...> - 2003-04-27 23:19:10
|
I second June 2nd.. Beside.. I work better with a deadline.. :-) For june 2 (wigets): Button PopUp Menu ScrollBar ScrollPane ToolTip DynTree That should pretty much keep me busy for the month.. Any comments? Suggestions? I would really like to start a conversation on the design of the dynTree ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "DynAPI-Dev" <dyn...@li...> Sent: Sunday, April 27, 2003 1:43 PM Subject: Re: [Dynapi-Dev] DynAPI Beta Release > > See Below: > > --- Kevin <ke...@ke...> wrote: > > "Raymond Irving" <xw...@ya...> wrote: > > > > > Hello Everyone, > > > > > > As mentioned eariler it would nice to try and get > > a > > > release of the new dynapi out the the public as > > soon > > > as possible. The polls on the dynapi web site are > > > showing that more persons want to see what 3.0 is > > all > > > about. I'm of the believe that we are closing in > > on a > > > stable release but would first like to get a beta > > > version out to the public. Do you agree that we > > > release a beta 1 to the public? > > > > > > On another note I would just like to hear how > > things > > > are going on the following libraries,etc. Can we > > have > > > these in for the beta release? Need more time? > > > > > > * The new DynArea Library? > > > > > > * The new Snap Library? - Have not heard from Leif > > for > > > sometime now. > > > > > > * The new TabManager/KeyEvents Extensions/Library? > > > > I'd like a bit more time to show an example that > > works > > with relative positioning / style classes in ns4. > > Current > > discussions relate to these areas. > > Ok, we also have some other key feature/functions to > resolve (such as getContentWidth, setBorder, etc) so I > guess we can set a beta release date for 2-June? > > -- > Raymond Irving > > > > > - > > Kevin > > > > > * Widgets? How far gone are you Doug? > > > > > > * Documentation? Any updates? > > > > > > * Anyone working on porting the IOElement > > server-side > > > codes to other platforms? > > > > > > > > > -- > > > Raymond Irving > > > > > > > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > The New Yahoo! Search - Faster. Easier. Bingo > > > http://search.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.../ > > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.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.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 4/24/2003 |
From: Doug M. <do...@cr...> - 2003-04-27 23:16:53
|
I say use CSS where we can. A point tho: I have yet to force mozilla to paint the right and bottom borders.. I'll post an example shortly ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "Dynapi-Dev" <Dyn...@li...> Sent: Sunday, April 27, 2003 1:39 PM Subject: Re: [Dynapi-Dev] set border bug > > --- Kevin <ke...@ke...> wrote: > > Solution. > > > > 1) I like the way borders are done in dynapi for > > ns4. Layers for top, > > bottom, left and right. So if we implement this for > > all browsers and > > not mess with the style it would be consistent, > > though dynlayer width > > will include border. > > That's true, but this would require us to us more > layers. The solution is ok for ns4 (as it's an old > browser) but css now available I think it's much more > efficient to use css. > > > 2) If we mess with border style for dom browsers. > > For the > > dynlayer size to consistent with ns4 border > > implementation > > it''s the dynlayer width that should be set to the > > actual element > > width plus twice the size of the border. > > If we set the actual elm size to be less than twice > the border size then it would be consistent with the > ns4 implementation: > > lyr.w = 100 > lyr.h = 100 > lyr.css.width=(lyr.w-(lyr._border*2)) > lyr.css.height=(lyr.h-(lyr._border*2)) > > In the above the dynLayer width/height will always be > 100x100 although the actual elm size will be 98x98. > This IMO shouldn't be a problem as the content inside > the elm will either wrap or overflow. This will only > be true when borders are set for DynLayers on DOM > browsers. > > Agree? Or should we use the NS4 design despite the > draw backs or having to use four additional layers? > > -- > Raymond Irving > > > I have a setBorder method that fixes the bug and > > should > > work ok: > > > > p.setBorder=function(w,c,s) { > > var width=w||0; > > var bstyle=(typeof(s)=='string')?s:'solid'; > > var bcolor=(typeof(c)=='string')?c:'black'; > > this._border=width+'px '+bstyle+' '+bcolor; > > this._cssBorder='border:'+this._border+'; '; > > var s=this.css; > > if(s) { > > s.borderWidth=width+'px'; > > s.borderStyle=bstyle; > > s.borderColor=bcolor; > > } > > }; > > > > Just need to work out what the dynlayer w & h should > > be > > as the w & h of a dynlayer should be the same as > > when > > using a border (internal border layers) in ns4. > > > > - > > Kevin > > > > > > > > For example in dom browsers we would something > > like: > > > > > > > > p.setSize = function(w,h) { > > > > ..... > > > > if (cw) this.css.width = > > > > (this.w-(this._border*2))||0; > > > > if (ch) this.css.height = > > > > (this.h-(this._border*2))||0; > > > > .... > > > > } > > > > > > > > > > > > What do you think? Any other suggestions? Can we > > do > > > > this? > > > > > > > > > > > > -- > > > > Raymond Irving > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > The New Yahoo! Search - Faster. Easier. Bingo > > > > http://search.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.../ > > > -- > > > Dan Willemsen <da...@wi...> > > > > > > > > > > > > > > > ------------------------------------------------------- > > > 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.../ > > > > > > > > > ------------------------------------------------------- > > 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.../ > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.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.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 4/24/2003 |
From: Doug M. <do...@cr...> - 2003-04-27 23:16:53
|
int he demo I posted.. the content is indeed in a table with one cell. :-) ----- Original Message ----- From: "Benoit Marchant" <mar...@ma...> To: "Raymond Irving" <xw...@ya...> Cc: "DynApi-Dev" <dyn...@li...> Sent: Sunday, April 27, 2003 1:56 PM Subject: Re: [Dynapi-Dev] Mozilla cotnentwidth bug. > I've seen with IE, in several occasions, that wrapping a content in a > table with one cell forces the layout engine to do the right thing. > Give it a shot. > > Benoit > > On Sunday, April 27, 2003, at 09:50 AM, Raymond Irving wrote: > > > > > --- Doug Melvin <do...@cr...> wrote: > >> See attached document. > >> note: this is a mozilla (NS6) specific bug. > > > > Wow! I wonder if this is a mozilla bug? If it is a bug > > we might have to release a dynapi-mozilla patch for > > this bug. > > > > Another thing to note is that in IE I also noticed > > that had to set the width to 1 before it would return > > the correct content size. Any ideas why? Any other > > work around for both IE and mozilla getContentWidth() > > problems? > > > > -- > > Raymond Irving > > > >> > >> --- > >> Outgoing mail is certified Virus Free. > >> Checked by AVG anti-virus system > >> (http://www.grisoft.com). > >> Version: 6.0.476 / Virus Database: 273 - Release > >> Date: 4/24/2003 > >> > > --------------------------------- > > Mozilla cotnentWidth > > Bugdynapi.library.setPath('./src/ > > ');dynapi.library.include('dynapi.api');ParentLayer > > = new > > DynLayer();ParentLayer.setBgColor('blue');ParentLayer.setSize(100,100); > > ParentLayer.setLocation(50,200);ChildLayer > > = new > > DynLayer();ChildLayer.setBgColor('white');ChildLayer.setSize(100,100);C > > hildLayer.setLocation(10,10);ChildLayer.setHTML('!');ParentLayer.addChi > > ld(ChildLayer)dynapi.document.addChild(ParentLayer);function > > doIt(){ alert('Child Layer\'s ContentWidth = ' + > > ChildLayer.getContentWidth() + '\nChild Layer\'s > > ContentHeight = ' + > > ChildLayer.getContentHeight())}ParentLayerB = new > > DynLayer();ParentLayerB.setBgColor('blue');ParentLayerB.setSize(150,150 > > );ParentLayerB.setLocation(250,200);ChildLayerB > > = new > > DynLayer();ChildLayerB.setBgColor('white');ChildLayerB.setSize(100,100) > > ;ChildLayerB.setLocation(10,10);ChildLayerB.setHTML('!');ParentLayerB.a > > ddChild(ChildLayerB)dynapi.document.addChild(ParentLayerB);function > > doItB(){ alert('Child Layer B\'s ContentWidth = ' + > > ChildLayerB.getContentWidth() + '\nChild LayerB\'s > > ContentHeight = ' + > > ChildLayerB.getContentHeight())}This document > > demonstartes the mozilla content size bug. > > click here to get the content size of the child layer. > > the expected results are contentWidth = 150 and > > contentHeight = 150 > > Note that the bug only occurs with the width > > In case you did not notice. getContenWidth in Mozilla > > will actually return the distance from a child layer's > > left to the parent layer's right where the > > childlayer's right extends beyond the parent layer's > > right. > > > > If the child layer's area does not extend beyond the > > parent layer's area then the value returned is that of > > the real content width minus the left position of the > > child layer.click here to get the content size of the > > second child layer. > > dynapi.document.insertAllChildren(); > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.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.../ > > > > > > ------------------------------------------------------- > 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.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 4/24/2003 |
From: Benoit M. <mar...@ma...> - 2003-04-27 17:58:48
|
I've seen with IE, in several occasions, that wrapping a content in a table with one cell forces the layout engine to do the right thing. Give it a shot. Benoit On Sunday, April 27, 2003, at 09:50 AM, Raymond Irving wrote: > > --- Doug Melvin <do...@cr...> wrote: >> See attached document. >> note: this is a mozilla (NS6) specific bug. > > Wow! I wonder if this is a mozilla bug? If it is a bug > we might have to release a dynapi-mozilla patch for > this bug. > > Another thing to note is that in IE I also noticed > that had to set the width to 1 before it would return > the correct content size. Any ideas why? Any other > work around for both IE and mozilla getContentWidth() > problems? > > -- > Raymond Irving > >> >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system >> (http://www.grisoft.com). >> Version: 6.0.476 / Virus Database: 273 - Release >> Date: 4/24/2003 >> > --------------------------------- > Mozilla cotnentWidth > Bugdynapi.library.setPath('./src/ > ');dynapi.library.include('dynapi.api');ParentLayer > = new > DynLayer();ParentLayer.setBgColor('blue');ParentLayer.setSize(100,100); > ParentLayer.setLocation(50,200);ChildLayer > = new > DynLayer();ChildLayer.setBgColor('white');ChildLayer.setSize(100,100);C > hildLayer.setLocation(10,10);ChildLayer.setHTML('!');ParentLayer.addChi > ld(ChildLayer)dynapi.document.addChild(ParentLayer);function > doIt(){ alert('Child Layer\'s ContentWidth = ' + > ChildLayer.getContentWidth() + '\nChild Layer\'s > ContentHeight = ' + > ChildLayer.getContentHeight())}ParentLayerB = new > DynLayer();ParentLayerB.setBgColor('blue');ParentLayerB.setSize(150,150 > );ParentLayerB.setLocation(250,200);ChildLayerB > = new > DynLayer();ChildLayerB.setBgColor('white');ChildLayerB.setSize(100,100) > ;ChildLayerB.setLocation(10,10);ChildLayerB.setHTML('!');ParentLayerB.a > ddChild(ChildLayerB)dynapi.document.addChild(ParentLayerB);function > doItB(){ alert('Child Layer B\'s ContentWidth = ' + > ChildLayerB.getContentWidth() + '\nChild LayerB\'s > ContentHeight = ' + > ChildLayerB.getContentHeight())}This document > demonstartes the mozilla content size bug. > click here to get the content size of the child layer. > the expected results are contentWidth = 150 and > contentHeight = 150 > Note that the bug only occurs with the width > In case you did not notice. getContenWidth in Mozilla > will actually return the distance from a child layer's > left to the parent layer's right where the > childlayer's right extends beyond the parent layer's > right. > > If the child layer's area does not extend beyond the > parent layer's area then the value returned is that of > the real content width minus the left position of the > child layer.click here to get the content size of the > second child layer. > dynapi.document.insertAllChildren(); > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.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-04-27 17:46:50
|
--- Benoit Marchant <mar...@ma...> wrote: > I agree it would be nice to have a solution that > works the same in all > browser. What we could do if we want the borders to > be outside is > basically have a Frame object. The frame object > would use 4 sub layers > for the borders. Which is enough for color border. > Now we could offer > image border, and then we would add 4 corner layers > on to of the 4 > borders, to be able to handle resize nicely with > repeating or streching > the borders without affecting the corner images. > So setting a border would add a frame parent to the > receiver, or may be > simpler position a frame on top of the layer you set > the border to. We > have the code that would move the frame when you > move the layer already > I don't know which one of the parent or the > positioned on top is better > ? But both could/should be transparent to the user, > and it should work > the same in every browser. True. -- Raymond Irving > Benoit > > > > On Friday, April 25, 2003, at 04:16 PM, Kevin > wrote: > > > > > "Dan Willemsen" <da...@wi...> wrote: > > > >> On Fri, 2003-04-25 at 17:05, Raymond Irving > wrote: > >>> Hello Everyone, > >>> > >>> I'm currently trying to get the setBorder() > feature to > >>> work in DOM browsers the way it works in IE. > According > >>> to the CSS1 specs the box width includes > padding, > >>> margin border and the element's width. > >> > >> Wrong... the elements width is only the width > declared, the padding > >> and > >> border are not added in. In the IE 5(and 6 in > quirks mode) box model, > >> they are added in, which makes it a real pain for > css developers, I > >> know, i design css sites now for the most part. > Javascript is just > >> extra. > > > > Raymond refered to box width to include margin, > border, padding and > > elements width. So both right. I know of the > broken IE5 box model > > being a real pain. > > > > Solution. > > > > 1) I like the way borders are done in dynapi for > ns4. Layers for top, > > bottom, left and right. So if we implement this > for all browsers and > > not mess with the style it would be consistent, > though dynlayer width > > will include border. > > > >>> It would seems > >>> that DynLayers were design to only work with the > >>> elements width. One quick solution would be to > set the > >>> actual element width to be less than twice the > size of > >>> the border. > > > > 2) If we mess with border style for dom browsers. > For the > > dynlayer size to consistent with ns4 border > implementation > > it''s the dynlayer width that should be set to the > actual element > > width plus twice the size of the border. > > > > I have a setBorder method that fixes the bug and > should > > work ok: > > > > p.setBorder=function(w,c,s) { > > var width=w||0; > > var bstyle=(typeof(s)=='string')?s:'solid'; > > var bcolor=(typeof(c)=='string')?c:'black'; > > this._border=width+'px '+bstyle+' '+bcolor; > > this._cssBorder='border:'+this._border+'; '; > > var s=this.css; > > if(s) { > > s.borderWidth=width+'px'; > > s.borderStyle=bstyle; > > s.borderColor=bcolor; > > } > > }; > > > > Just need to work out what the dynlayer w & h > should be > > as the w & h of a dynlayer should be the same as > when > > using a border (internal border layers) in ns4. > > > > - > > Kevin > > > > > >>> For example in dom browsers we would something > like: > >>> > >>> p.setSize = function(w,h) { > >>> ..... > >>> if (cw) this.css.width = > >>> (this.w-(this._border*2))||0; > >>> if (ch) this.css.height = > >>> (this.h-(this._border*2))||0; > >>> .... > >>> } > >>> > >>> > >>> What do you think? Any other suggestions? Can we > do > >>> this? > >>> > >>> > >>> -- > >>> Raymond Irving > >>> > >>> > __________________________________________________ > >>> Do you Yahoo!? > >>> The New Yahoo! Search - Faster. Easier. Bingo > >>> http://search.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.../ > >> -- > >> Dan Willemsen <da...@wi...> > >> > >> > >> > >> > ------------------------------------------------------- > >> 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.../ > > > > > > > > > ------------------------------------------------------- > > 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.../ > > > > > > ------------------------------------------------------- > 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.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-27 17:43:31
|
See Below: --- Kevin <ke...@ke...> wrote: > "Raymond Irving" <xw...@ya...> wrote: > > > Hello Everyone, > > > > As mentioned eariler it would nice to try and get > a > > release of the new dynapi out the the public as > soon > > as possible. The polls on the dynapi web site are > > showing that more persons want to see what 3.0 is > all > > about. I'm of the believe that we are closing in > on a > > stable release but would first like to get a beta > > version out to the public. Do you agree that we > > release a beta 1 to the public? > > > > On another note I would just like to hear how > things > > are going on the following libraries,etc. Can we > have > > these in for the beta release? Need more time? > > > > * The new DynArea Library? > > > > * The new Snap Library? - Have not heard from Leif > for > > sometime now. > > > > * The new TabManager/KeyEvents Extensions/Library? > > I'd like a bit more time to show an example that > works > with relative positioning / style classes in ns4. > Current > discussions relate to these areas. Ok, we also have some other key feature/functions to resolve (such as getContentWidth, setBorder, etc) so I guess we can set a beta release date for 2-June? -- Raymond Irving > > - > Kevin > > > * Widgets? How far gone are you Doug? > > > > * Documentation? Any updates? > > > > * Anyone working on porting the IOElement > server-side > > codes to other platforms? > > > > > > -- > > Raymond Irving > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.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.../ > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-27 17:39:54
|
--- Kevin <ke...@ke...> wrote: > Solution. > > 1) I like the way borders are done in dynapi for > ns4. Layers for top, > bottom, left and right. So if we implement this for > all browsers and > not mess with the style it would be consistent, > though dynlayer width > will include border. That's true, but this would require us to us more layers. The solution is ok for ns4 (as it's an old browser) but css now available I think it's much more efficient to use css. > 2) If we mess with border style for dom browsers. > For the > dynlayer size to consistent with ns4 border > implementation > it''s the dynlayer width that should be set to the > actual element > width plus twice the size of the border. If we set the actual elm size to be less than twice the border size then it would be consistent with the ns4 implementation: lyr.w = 100 lyr.h = 100 lyr.css.width=(lyr.w-(lyr._border*2)) lyr.css.height=(lyr.h-(lyr._border*2)) In the above the dynLayer width/height will always be 100x100 although the actual elm size will be 98x98. This IMO shouldn't be a problem as the content inside the elm will either wrap or overflow. This will only be true when borders are set for DynLayers on DOM browsers. Agree? Or should we use the NS4 design despite the draw backs or having to use four additional layers? -- Raymond Irving > I have a setBorder method that fixes the bug and > should > work ok: > > p.setBorder=function(w,c,s) { > var width=w||0; > var bstyle=(typeof(s)=='string')?s:'solid'; > var bcolor=(typeof(c)=='string')?c:'black'; > this._border=width+'px '+bstyle+' '+bcolor; > this._cssBorder='border:'+this._border+'; '; > var s=this.css; > if(s) { > s.borderWidth=width+'px'; > s.borderStyle=bstyle; > s.borderColor=bcolor; > } > }; > > Just need to work out what the dynlayer w & h should > be > as the w & h of a dynlayer should be the same as > when > using a border (internal border layers) in ns4. > > - > Kevin > > > > > For example in dom browsers we would something > like: > > > > > > p.setSize = function(w,h) { > > > ..... > > > if (cw) this.css.width = > > > (this.w-(this._border*2))||0; > > > if (ch) this.css.height = > > > (this.h-(this._border*2))||0; > > > .... > > > } > > > > > > > > > What do you think? Any other suggestions? Can we > do > > > this? > > > > > > > > > -- > > > Raymond Irving > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > The New Yahoo! Search - Faster. Easier. Bingo > > > http://search.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.../ > > -- > > Dan Willemsen <da...@wi...> > > > > > > > > > ------------------------------------------------------- > > 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.../ > > > > ------------------------------------------------------- > 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.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-27 17:23:08
|
Please see below: --- Leif W <war...@us...> wrote: > > Think I posted to the mailing list what I had a > while back. It should > suffice for an alpha. Never heard any feedback on > it. Yes, we did gave some feedback on it. Check the archives to see some of the feedbacks: http://www.mail-archive.com/dyn...@li.../msg05190.html http://www.mail-archive.com/dyn...@li.../msg05194.html http://www.mail-archive.com/dyn...@li.../msg05203.html > Here it is again. > I'm not sure how to post the changes to CVS. For CVS updates you can do one on the two: 1) Setup wincvs to work with ssh http://sourceforge.net/docman/display_doc.php?docid=6841&group_id=1 http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1 http://sourceforge.net/docman/display_doc.php?docid=766&group_id=1 Or 2) Upload your changes using the patch system fromt the dynapi website. A developer with cvs setup on his machine can then upload your changes. -- Raymond Irving > But I > also wasn't sure if this > would be "finished" enough for others to poke at. > Here goes nothing. > Documentation is thin, but the very basics are on > the example page. I can > elaborate if necessary, probably want to for a beta > release. > > http://dynapi:dyn...@dy.../DynAPI/dynapi3x/examples/dynapi. > fx.motionx.snap.html > > The code is in the same file as the motionx stuff > but it's pretty much > separate. > > http://dynapi:dyn...@dy.../DynAPI/dynapi3x/src/fx/motionx.t > xt > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-27 17:01:57
|
--- Dan Willemsen <da...@wi...> wrote: > > * Documentation? Any updates? > I'm working on them, but not making a lot of > progress right now. I'm in > high school and all my classes are rushing to get > everything done for > the end of the year, so I haven't had too much time. > I may be able to > get more done after May 8, since that is the day of > the AP US History > test, and my history class should be doing pretty > much nothing past > that. I understand. It's very important that you secure as much as you on the exams and course work. The docs aren't realy necessary for the beta release so there's no rush. > .. I do have a lot of c programming to do for a > robot we are > building in tech class though. I just need more > time. On another note... Have you ever heard about the BasicX microprocessor, the JavelinStamp Or the SitePlayer? Just a few microprocessors that I came across while doing some research some time ago. The SitePlayer is my favourite. It's a complete web server inside a micro chip. www.basicx.com www.siteplayer.com www.javelinstamp.com > > * Anyone working on porting the IOElement > server-side > > codes to other platforms? > > I could help, but the time issue I am having is > still there. I know php > and perl. Sounds great. PS. All the best with your exams and school work. Best regards, -- Raymond Irving > > > > > > > -- > > Raymond Irving > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.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.../ > -- > Dan Willemsen <da...@wi...> > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-27 16:50:24
|
--- Doug Melvin <do...@cr...> wrote: > See attached document. > note: this is a mozilla (NS6) specific bug. Wow! I wonder if this is a mozilla bug? If it is a bug we might have to release a dynapi-mozilla patch for this bug. Another thing to note is that in IE I also noticed that had to set the width to 1 before it would return the correct content size. Any ideas why? Any other work around for both IE and mozilla getContentWidth() problems? -- Raymond Irving > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.476 / Virus Database: 273 - Release > Date: 4/24/2003 > --------------------------------- Mozilla cotnentWidth Bugdynapi.library.setPath('./src/');dynapi.library.include('dynapi.api');ParentLayer = new DynLayer();ParentLayer.setBgColor('blue');ParentLayer.setSize(100,100);ParentLayer.setLocation(50,200);ChildLayer = new DynLayer();ChildLayer.setBgColor('white');ChildLayer.setSize(100,100);ChildLayer.setLocation(10,10);ChildLayer.setHTML('!');ParentLayer.addChild(ChildLayer)dynapi.document.addChild(ParentLayer);function doIt(){ alert('Child Layer\'s ContentWidth = ' + ChildLayer.getContentWidth() + '\nChild Layer\'s ContentHeight = ' + ChildLayer.getContentHeight())}ParentLayerB = new DynLayer();ParentLayerB.setBgColor('blue');ParentLayerB.setSize(150,150);ParentLayerB.setLocation(250,200);ChildLayerB = new DynLayer();ChildLayerB.setBgColor('white');ChildLayerB.setSize(100,100);ChildLayerB.setLocation(10,10);ChildLayerB.setHTML('!');ParentLayerB.addChild(ChildLayerB)dynapi.document.addChild(ParentLayerB);function doItB(){ alert('Child Layer B\'s ContentWidth = ' + ChildLayerB.getContentWidth() + '\nChild LayerB\'s ContentHeight = ' + ChildLayerB.getContentHeight())}This document demonstartes the mozilla content size bug. click here to get the content size of the child layer. the expected results are contentWidth = 150 and contentHeight = 150 Note that the bug only occurs with the width In case you did not notice. getContenWidth in Mozilla will actually return the distance from a child layer's left to the parent layer's right where the childlayer's right extends beyond the parent layer's right. If the child layer's area does not extend beyond the parent layer's area then the value returned is that of the real content width minus the left position of the child layer.click here to get the content size of the second child layer. dynapi.document.insertAllChildren(); __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-27 16:44:16
|
Hi Doug, I've tested it and I believe this was fixed in the latest CVS verion of dynapi. Checkout the latest cvs version to see it it works. Thanks for the example. -- Raymond Irving --- Doug Melvin <do...@cr...> wrote: > Okay. The bug actually exists in IE and ns4 as well > as mozilla.. it was just > more noticable to me > as I was testing in mozilla at the time. > > The attached document demonstartes the bug. > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: "Doug Melvin" <do...@cr...> > Sent: Friday, April 25, 2003 5:54 PM > Subject: Re: [Dynapi-Dev] DynAPI Beta Release > > > > > > Please see below: > > > > --- Doug Melvin <do...@cr...> > wrote: > > > I've ported the popup widget for a contract.. > > > I'll have to bring it up to standards before > > > releasing it. > > > Right now I am working on mozilla issues.. for > > > instance, > > > the oncreate event gets fired before the layer > is > > > actually rendered.. > > > > > > So trying to use contentwidth(for instance) > onCreate > > > does not work. > > > > Could you please post (or send me) a working > example > > that shows this bug? > > > > > > -- > > Raymond Irving > > > > > I have a whole lot of free tim ethis weekend. so > I > > > suppose I can > > > finish off the basic widgets. > > > > > > ----- Original Message ----- > > > From: "Raymond Irving" <xw...@ya...> > > > To: "DynAPI-Dev" > <dyn...@li...> > > > Sent: Friday, April 25, 2003 12:40 PM > > > Subject: [Dynapi-Dev] DynAPI Beta Release > > > > > > > > > > Hello Everyone, > > > > > > > > As mentioned eariler it would nice to try and > get > > > a > > > > release of the new dynapi out the the public > as > > > soon > > > > as possible. The polls on the dynapi web site > are > > > > showing that more persons want to see what 3.0 > is > > > all > > > > about. I'm of the believe that we are closing > in > > > on a > > > > stable release but would first like to get a > beta > > > > version out to the public. Do you agree that > we > > > > release a beta 1 to the public? > > > > > > > > On another note I would just like to hear how > > > things > > > > are going on the following libraries,etc. Can > we > > > have > > > > these in for the beta release? Need more time? > > > > > > > > * The new DynArea Library? > > > > > > > > * The new Snap Library? - Have not heard from > Leif > > > for > > > > sometime now. > > > > > > > > * The new TabManager/KeyEvents > Extensions/Library? > > > > > > > > * Widgets? How far gone are you Doug? > > > > > > > > * Documentation? Any updates? > > > > > > > > * Anyone working on porting the IOElement > > > server-side > > > > codes to other platforms? > > > > > > > > > > > > -- > > > > Raymond Irving > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > The New Yahoo! Search - Faster. Easier. Bingo > > > > http://search.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.../ > > > > > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system > > > (http://www.grisoft.com). > > > Version: 6.0.476 / Virus Database: 273 - Release > > > Date: 4/24/2003 > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.yahoo.com > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.476 / Virus Database: 273 - Release > Date: 4/24/2003 > --------------------------------- onCreate bugdynapi.library.setPath('./src/');dynapi.library.include('dynapi.api');w = new DynLayer();w.setBgColor('blue');w.setSize(130,130);w.setLocation(250,100);w.setHTML('!');w.onCreate(function(){ alert('parentlayer._created = ' + this._created + '\nparentlayer\'s Dimentions are: ' + this.getWidth() + ' By ' + this.getHeight() + '\nparentlayer\'s content\'s demensions are: ' + this.getContentWidth() + ' By ' + this.getContentHeight()); });x = new DynLayer();x.setBgColor('white');x.setSize(100,100);x.setLocation(10,10);x.setHTML('!');x.onCreate(function(){ alert('childlayer._created = ' + this._created + '\nchildlayer\'s Dimentions are: ' + this.getWidth() + ' By ' + this.getHeight() + '\nchildlayer\'s content\'s demensions are: ' + this.getContentWidth() + ' By ' + this.getContentHeight()); });w.addChild(x)dynapi.document.addChild(w);This document demonstrates the onCreate event bug.You will note that child layers get their onCreate triggered twice: one before they are rendered and once after.You will also note that the first time the child layer's oncreate is fired, the parent layer is not even rendered yet.Also: the _created variable is true, even though it is not rendered yet.dynapi.document.insertAllChildren(); __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Doug M. <do...@cr...> - 2003-04-26 04:21:01
|
<html>=0A= <head>=0A= <title>Mozilla cotnentWidth Bug</title>=0A= <script language=3D"JavaScript" src=3D"./src/dynapi.js"></script>=0A= <script language=3D"Javascript">=0A= dynapi.library.setPath('./src/');=0A= dynapi.library.include('dynapi.api');=0A= </script>=0A= <script language=3D"Javascript">=0A= =0A= ParentLayer =3D new DynLayer();=0A= ParentLayer.setBgColor('blue');=0A= ParentLayer.setSize(100,100);=0A= ParentLayer.setLocation(50,200);=0A= =0A= ChildLayer =3D new DynLayer();=0A= ChildLayer.setBgColor('white');=0A= ChildLayer.setSize(100,100);=0A= ChildLayer.setLocation(10,10);=0A= =0A= ChildLayer.setHTML('<table border=3D1 width=3D150 height=3D150><tr><td = align=3Dcenter valign=3Dmiddle>!</td></tr></table>');=0A= =0A= ParentLayer.addChild(ChildLayer)=0A= =0A= dynapi.document.addChild(ParentLayer);=0A= =0A= function doIt(){=0A= alert('Child Layer\'s ContentWidth =3D ' + ChildLayer.getContentWidth() = + '\nChild Layer\'s ContentHeight =3D ' + ChildLayer.getContentHeight())=0A= }=0A= =0A= ParentLayerB =3D new DynLayer();=0A= ParentLayerB.setBgColor('blue');=0A= ParentLayerB.setSize(150,150);=0A= ParentLayerB.setLocation(250,200);=0A= =0A= ChildLayerB =3D new DynLayer();=0A= ChildLayerB.setBgColor('white');=0A= ChildLayerB.setSize(100,100);=0A= ChildLayerB.setLocation(10,10);=0A= =0A= ChildLayerB.setHTML('<table border=3D1 width=3D150 height=3D150><tr><td = align=3Dcenter valign=3Dmiddle>!</td></tr></table>');=0A= =0A= ParentLayerB.addChild(ChildLayerB)=0A= =0A= dynapi.document.addChild(ParentLayerB);=0A= =0A= function doItB(){=0A= alert('Child Layer B\'s ContentWidth =3D ' + = ChildLayerB.getContentWidth() + '\nChild LayerB\'s ContentHeight =3D ' + = ChildLayerB.getContentHeight())=0A= }=0A= =0A= </script>=0A= </head>=0A= <body bgcolor=3D"#999999">=0A= This document demonstartes the mozilla content size bug.<br>=0A= <a href=3D# onclick=3D"doIt()">click here</a> to get the content size of = the child layer.<br>=0A= the expected results are contentWidth =3D 150 and contentHeight =3D = 150<br>=0A= Note that the bug only occurs with the width<br>=0A= In case you did not notice. getContenWidth in Mozilla will actually = return the distance from a child layer's<br>=0A= left to the parent layer's right where the childlayer's right extends = beyond the parent layer's right.<br><br>=0A= If the child layer's area does not extend beyond the parent layer's area = then the value returned is that of the real content width minus the left = position of the child layer.=0A= <a href=3D# onclick=3D"doItB()">click here</a> to get the content size = of the second child layer.<br>=0A= =0A= <script>=0A= dynapi.document.insertAllChildren();=0A= </script>=0A= =0A= </body>=0A= </html>=0A= |
From: Doug M. <do...@cr...> - 2003-04-26 04:08:57
|
Okay. The bug actually exists in IE and ns4 as well as mozilla.. it was just more noticable to me as I was testing in mozilla at the time. The attached document demonstartes the bug. ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "Doug Melvin" <do...@cr...> Sent: Friday, April 25, 2003 5:54 PM Subject: Re: [Dynapi-Dev] DynAPI Beta Release > > Please see below: > > --- Doug Melvin <do...@cr...> wrote: > > I've ported the popup widget for a contract.. > > I'll have to bring it up to standards before > > releasing it. > > Right now I am working on mozilla issues.. for > > instance, > > the oncreate event gets fired before the layer is > > actually rendered.. > > > > So trying to use contentwidth(for instance) onCreate > > does not work. > > Could you please post (or send me) a working example > that shows this bug? > > > -- > Raymond Irving > > > I have a whole lot of free tim ethis weekend. so I > > suppose I can > > finish off the basic widgets. > > > > ----- Original Message ----- > > From: "Raymond Irving" <xw...@ya...> > > To: "DynAPI-Dev" <dyn...@li...> > > Sent: Friday, April 25, 2003 12:40 PM > > Subject: [Dynapi-Dev] DynAPI Beta Release > > > > > > > Hello Everyone, > > > > > > As mentioned eariler it would nice to try and get > > a > > > release of the new dynapi out the the public as > > soon > > > as possible. The polls on the dynapi web site are > > > showing that more persons want to see what 3.0 is > > all > > > about. I'm of the believe that we are closing in > > on a > > > stable release but would first like to get a beta > > > version out to the public. Do you agree that we > > > release a beta 1 to the public? > > > > > > On another note I would just like to hear how > > things > > > are going on the following libraries,etc. Can we > > have > > > these in for the beta release? Need more time? > > > > > > * The new DynArea Library? > > > > > > * The new Snap Library? - Have not heard from Leif > > for > > > sometime now. > > > > > > * The new TabManager/KeyEvents Extensions/Library? > > > > > > * Widgets? How far gone are you Doug? > > > > > > * Documentation? Any updates? > > > > > > * Anyone working on porting the IOElement > > server-side > > > codes to other platforms? > > > > > > > > > -- > > > Raymond Irving > > > > > > > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > The New Yahoo! Search - Faster. Easier. Bingo > > > http://search.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.../ > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system > > (http://www.grisoft.com). > > Version: 6.0.476 / Virus Database: 273 - Release > > Date: 4/24/2003 > > > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 4/24/2003 |
From: Kevin <ke...@ke...> - 2003-04-26 01:42:48
|
Sorry didn't send reply to the list. > "Raymond Irving" <xw...@ya...> wrote: > > > Hello Everyone, > > > > As mentioned eariler it would nice to try and get a > > release of the new dynapi out the the public as soon > > as possible. The polls on the dynapi web site are > > showing that more persons want to see what 3.0 is all > > about. I'm of the believe that we are closing in on a > > stable release but would first like to get a beta > > version out to the public. Do you agree that we > > release a beta 1 to the public? > > > > On another note I would just like to hear how things > > are going on the following libraries,etc. Can we have > > these in for the beta release? Need more time? > > > > * The new DynArea Library? > > > > * The new Snap Library? - Have not heard from Leif for > > sometime now. > > > > * The new TabManager/KeyEvents Extensions/Library? I'd like a bit more time to show an example that works with relative positioning / style classes in ns4. Current discussions relate to these areas. - Kevin > > * Widgets? How far gone are you Doug? > > > > * Documentation? Any updates? > > > > * Anyone working on porting the IOElement server-side > > codes to other platforms? > > > > > > -- > > Raymond Irving > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.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: Kevin <ke...@ke...> - 2003-04-26 01:40:03
|
Sorry didn't send reply to the list. > > "Raymond Irving" <xw...@ya...> wrote: > > > Hi, > > > > > > When using setClass('whatever',true) you should always > > create dynlayer with width and height or 0. This is to > > prevent dynlayer from attempting to autosize the > > layer. I disagree the w & h should be defaulted to null in the constructor and not be touched until _assignElement. > > It was suggested once that we get the width and the > > height from the style of the layer, but that might not > > be a good thing to do as style sheets can use > > different values for width and height: > > > > width:100px; height:100px; > > width:100%; height:100%; > > width:100cm; height:100cm; A user/developer knowing that pixels are supported would use px in style sheets as in the same way lyr=new DynLayer('z',10,10,'100%',100%') wouldn't be expected to work in any case. > > If a layer's style width inside the style sheet was > > set to 100% then the dynlayer would report the wrong > > size, correct? > > > > Any thoughts on this? Should we document that users > > set the width and height to 0,0 when using style > > sheets? Or should we enable DynLayer.assignElement() > > to first check for a valid css width/height before > > calling getContentWidth/Height? Defaults as explained above. Then in assignElement: 1) call new methods getElmWidth() & getElmHeight() to satisfy the style sheet requirement then if the user/developer hasn't specified a style object or class 2) call getContentWidth() & getContentHeight() to satisfy the auto size requirement (single character DynLayers etc) - Kevin. > > > > -- > > Raymond Irving > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.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: Benoit M. <mar...@ma...> - 2003-04-26 00:33:57
|
I agree it would be nice to have a solution that works the same in all browser. What we could do if we want the borders to be outside is basically have a Frame object. The frame object would use 4 sub layers for the borders. Which is enough for color border. Now we could offer image border, and then we would add 4 corner layers on to of the 4 borders, to be able to handle resize nicely with repeating or streching the borders without affecting the corner images. So setting a border would add a frame parent to the receiver, or may be simpler position a frame on top of the layer you set the border to. We have the code that would move the frame when you move the layer already I don't know which one of the parent or the positioned on top is better ? But both could/should be transparent to the user, and it should work the same in every browser. Benoit On Friday, April 25, 2003, at 04:16 PM, Kevin wrote: > > "Dan Willemsen" <da...@wi...> wrote: > >> On Fri, 2003-04-25 at 17:05, Raymond Irving wrote: >>> Hello Everyone, >>> >>> I'm currently trying to get the setBorder() feature to >>> work in DOM browsers the way it works in IE. According >>> to the CSS1 specs the box width includes padding, >>> margin border and the element's width. >> >> Wrong... the elements width is only the width declared, the padding >> and >> border are not added in. In the IE 5(and 6 in quirks mode) box model, >> they are added in, which makes it a real pain for css developers, I >> know, i design css sites now for the most part. Javascript is just >> extra. > > Raymond refered to box width to include margin, border, padding and > elements width. So both right. I know of the broken IE5 box model > being a real pain. > > Solution. > > 1) I like the way borders are done in dynapi for ns4. Layers for top, > bottom, left and right. So if we implement this for all browsers and > not mess with the style it would be consistent, though dynlayer width > will include border. > >>> It would seems >>> that DynLayers were design to only work with the >>> elements width. One quick solution would be to set the >>> actual element width to be less than twice the size of >>> the border. > > 2) If we mess with border style for dom browsers. For the > dynlayer size to consistent with ns4 border implementation > it''s the dynlayer width that should be set to the actual element > width plus twice the size of the border. > > I have a setBorder method that fixes the bug and should > work ok: > > p.setBorder=function(w,c,s) { > var width=w||0; > var bstyle=(typeof(s)=='string')?s:'solid'; > var bcolor=(typeof(c)=='string')?c:'black'; > this._border=width+'px '+bstyle+' '+bcolor; > this._cssBorder='border:'+this._border+'; '; > var s=this.css; > if(s) { > s.borderWidth=width+'px'; > s.borderStyle=bstyle; > s.borderColor=bcolor; > } > }; > > Just need to work out what the dynlayer w & h should be > as the w & h of a dynlayer should be the same as when > using a border (internal border layers) in ns4. > > - > Kevin > > >>> For example in dom browsers we would something like: >>> >>> p.setSize = function(w,h) { >>> ..... >>> if (cw) this.css.width = >>> (this.w-(this._border*2))||0; >>> if (ch) this.css.height = >>> (this.h-(this._border*2))||0; >>> .... >>> } >>> >>> >>> What do you think? Any other suggestions? Can we do >>> this? >>> >>> >>> -- >>> Raymond Irving >>> >>> __________________________________________________ >>> Do you Yahoo!? >>> The New Yahoo! Search - Faster. Easier. Bingo >>> http://search.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.../ >> -- >> Dan Willemsen <da...@wi...> >> >> >> >> ------------------------------------------------------- >> 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.../ > > > > ------------------------------------------------------- > 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: Kevin <ke...@ke...> - 2003-04-25 23:17:19
|
"Dan Willemsen" <da...@wi...> wrote: > On Fri, 2003-04-25 at 17:05, Raymond Irving wrote: > > Hello Everyone, > > > > I'm currently trying to get the setBorder() feature to > > work in DOM browsers the way it works in IE. According > > to the CSS1 specs the box width includes padding, > > margin border and the element's width. > > Wrong... the elements width is only the width declared, the padding and > border are not added in. In the IE 5(and 6 in quirks mode) box model, > they are added in, which makes it a real pain for css developers, I > know, i design css sites now for the most part. Javascript is just > extra. Raymond refered to box width to include margin, border, padding and elements width. So both right. I know of the broken IE5 box model being a real pain. Solution. 1) I like the way borders are done in dynapi for ns4. Layers for top, bottom, left and right. So if we implement this for all browsers and not mess with the style it would be consistent, though dynlayer width will include border. > > It would seems > > that DynLayers were design to only work with the > > elements width. One quick solution would be to set the > > actual element width to be less than twice the size of > > the border. 2) If we mess with border style for dom browsers. For the dynlayer size to consistent with ns4 border implementation it''s the dynlayer width that should be set to the actual element width plus twice the size of the border. I have a setBorder method that fixes the bug and should work ok: p.setBorder=function(w,c,s) { var width=w||0; var bstyle=(typeof(s)=='string')?s:'solid'; var bcolor=(typeof(c)=='string')?c:'black'; this._border=width+'px '+bstyle+' '+bcolor; this._cssBorder='border:'+this._border+'; '; var s=this.css; if(s) { s.borderWidth=width+'px'; s.borderStyle=bstyle; s.borderColor=bcolor; } }; Just need to work out what the dynlayer w & h should be as the w & h of a dynlayer should be the same as when using a border (internal border layers) in ns4. - Kevin > > For example in dom browsers we would something like: > > > > p.setSize = function(w,h) { > > ..... > > if (cw) this.css.width = > > (this.w-(this._border*2))||0; > > if (ch) this.css.height = > > (this.h-(this._border*2))||0; > > .... > > } > > > > > > What do you think? Any other suggestions? Can we do > > this? > > > > > > -- > > Raymond Irving > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.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.../ > -- > Dan Willemsen <da...@wi...> > > > > ------------------------------------------------------- > 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.../ |