|
From: Raymond I. <xw...@ya...> - 2003-04-28 20:25:29
|
--- Kevin <ke...@ke...> wrote:
>.... > 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.
>
> Would we have to 'adjust' the dlyr x/y?
No, I don't see were we will need to do that.
>... What are the
> coords of relative elements or when constructing a
> widget and bordered elements need to touch?
>
> > Agree? Or should we use the NS4 design despite the
> > draw backs or having to use four additional
> layers?
>
> We need a good long think about this. I like one
> solution
> for all. So NS4 design for me, plus the facility to
> extend
> it as Benoit suggests with corners / images is good.
>
> I would suggest one extra center layer so the
> content
> won't flow under borders or for external content.
> So:
> 1 - frame (relative or absolute container)
> 4 - borders (solid or image)
> (4 - corners) (solid or image)
> 1 - content (html or external)
> --
> 10
> --
> Is this too much or just enough for one cross
> browser
> solution with extension possibilities?
It's good for cross-browser, but it's more resource
intensive. What I think I might do is remove
setBorder() from dynlayer_base and create a
cross-browser solution inside a bordermanager.js file.
Agree?
--
Raymond Irving
> Kevin
>
> > --
> > 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.../
>
=== message truncated ===
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
|
|
From: Raymond I. <xw...@ya...> - 2003-04-28 22:12:15
|
--- Doug Melvin <do...@cr...> wrote: > > > > It's good for cross-browser, but it's more > resource > > intensive. What I think I might do is remove > > setBorder() from dynlayer_base and create a > > cross-browser solution inside a bordermanager.js > file. > > Agree? > > Possibly a good idea as the border issues are > getting rather complex.. > also, we will be able to extend the border manager > for skining and the like > I'll also remove css border support for all browsers and use layers inside. -- 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/03 __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
|
From: Doug M. <do...@cr...> - 2003-04-29 03:21:21
|
----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "DynAPI-Dev" <dyn...@li...> Sent: Monday, April 28, 2003 6:12 PM Subject: Re: [Dynapi-Dev] set border bug > > --- Doug Melvin <do...@cr...> wrote: > > > > > > It's good for cross-browser, but it's more > > resource > > > intensive. What I think I might do is remove > > > setBorder() from dynlayer_base and create a > > > cross-browser solution inside a bordermanager.js > > file. > > > Agree? > > > > Possibly a good idea as the border issues are > > getting rather complex.. > > also, we will be able to extend the border manager > > for skining and the like > > > > I'll also remove css border support for all browsers > and use layers inside. > Is that necessary? I see no need to cripple the better browsers (slow them down) just becaue one doesn't support css borders.. --- 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-28 21:58:20
|
--- 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/03 |
|
From: Kevin <ke...@ke...> - 2003-04-28 22:30:09
|
"Raymond Irving" <xw...@ya...> wrote:
>
> --- Kevin <ke...@ke...> wrote:
> >
> > We need a good long think about this. I like one
> > solution
> > for all. So NS4 design for me, plus the facility to
> > extend
> > it as Benoit suggests with corners / images is good.
> >
> > I would suggest one extra center layer so the
> > content
> > won't flow under borders or for external content.
> > So:
> > 1 - frame (relative or absolute container)
> > 4 - borders (solid or image)
> > (4 - corners) (solid or image)
> > 1 - content (html or external)
> > --
> > 10
> > --
> > Is this too much or just enough for one cross
> > browser
> > solution with extension possibilities?
>
> It's good for cross-browser, but it's more resource
> intensive. What I think I might do is remove
> setBorder() from dynlayer_base and create a
> cross-browser solution inside a bordermanager.js file.
> Agree?
Yes - border layers inside 1 frame layer plus a center
layer comtent.
-
Kevin
> --
> Raymond Irving
>
>
> > Kevin
> >
> > > --
> > > 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.../
> >
> === message truncated ===
>
>
> __________________________________
> 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-28 22:56:22
|
--- Kevin <ke...@ke...> wrote:
>
> "Raymond Irving" <xw...@ya...> wrote:
>
> >
> > --- Kevin <ke...@ke...> wrote:
> > >
> > > We need a good long think about this. I like one
> > > solution
> > > for all. So NS4 design for me, plus the facility
> to
> > > extend
> > > it as Benoit suggests with corners / images is
> good.
> > >
> > > I would suggest one extra center layer so the
> > > content
> > > won't flow under borders or for external
> content.
> > > So:
> > > 1 - frame (relative or absolute container)
> > > 4 - borders (solid or image)
> > > (4 - corners) (solid or image)
> > > 1 - content (html or external)
> > > --
> > > 10
> > > --
> > > Is this too much or just enough for one cross
> > > browser
> > > solution with extension possibilities?
> >
> > It's good for cross-browser, but it's more
> resource
> > intensive. What I think I might do is remove
> > setBorder() from dynlayer_base and create a
> > cross-browser solution inside a bordermanager.js
> file.
> > Agree?
>
> Yes - border layers inside 1 frame layer plus a
> center
> layer comtent.
Well, for center layer you can enable the Blackboard.
Or user can implement their own.
--
Raymond Irving
> -
> Kevin
>
> > --
> > Raymond Irving
> >
> >
> > > Kevin
> > >
> > > > --
> > > > 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.../
> > >
> > === message truncated ===
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
>
=== message truncated ===
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
|
|
From: Kevin <ke...@ke...> - 2003-04-29 01:22:01
|
"Raymond Irving" <xw...@ya...> wrote:
>
> --- Kevin <ke...@ke...> wrote:
> >
> > "Raymond Irving" <xw...@ya...> wrote:
> >
> > >
> > > --- Kevin <ke...@ke...> wrote:
> > > >
> > > > We need a good long think about this. I like one
> > > > solution
> > > > for all. So NS4 design for me, plus the facility
> > to
> > > > extend
> > > > it as Benoit suggests with corners / images is
> > good.
> > > >
> > > > I would suggest one extra center layer so the
> > > > content
> > > > won't flow under borders or for external
> > content.
> > > > So:
> > > > 1 - frame (relative or absolute container)
> > > > 4 - borders (solid or image)
> > > > (4 - corners) (solid or image)
> > > > 1 - content (html or external)
> > > > --
> > > > 10
> > > > --
> > > > Is this too much or just enough for one cross
> > > > browser
> > > > solution with extension possibilities?
> > >
> > > It's good for cross-browser, but it's more
> > resource
> > > intensive. What I think I might do is remove
> > > setBorder() from dynlayer_base and create a
> > > cross-browser solution inside a bordermanager.js
> > file.
> > > Agree?
> >
> > Yes - border layers inside 1 frame layer plus a
> > center
> > layer comtent.
>
> Well, for center layer you can enable the Blackboard.
> Or user can implement their own.
Blackboard doesn't work on all browsers. If we don't
offer a center layer as the doc attribute of the layer/div
frame, the content will be clipped under the layer borders.
Perhaps this can be a simple border widget with external
content enabled.
The user can implement their own api as I have had to.
It's the only way to find out why some dynapi ideas
don't work. I'll try and get something working for the
getElmWidth/Height or getContentWidth/Height problem
and with setClass cross browser.
NS4 is a pain if style sheets are used with a <layer> tag,
only left,top / width,height can be dynamically changed,
bgcolor, z-index and visibility become read-only. So this
breaks setBgColor/setZIndex/setVisible :-( This work is
taking up a lot of my time at the moment. So sorry for
any delay for the June release date.
-
Kevin
> --
> Raymond Irving
>
>
> > -
> > Kevin
> >
> > > --
> > > Raymond Irving
> > >
> > >
> > > > Kevin
> > > >
> > > > > --
> > > > > 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.../
> > > >
> > > === message truncated ===
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > http://search.yahoo.com
> > >
> > >
> > >
> >
> -------------------------------------------------------
> >
> === message truncated ===
>
>
> __________________________________
> 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.../
|