|
From: Kevin <ke...@ke...> - 2003-04-25 19:25:55
Attachments:
dynapi.api.dynlayer-blackboard.zip
|
Hi Raymond,
I tried your updates. NS4 on Linux still crashes. What
version of Linux are you testing against? NS4 should
come as standard. Using the gnome window manager
start->programs->internet->Netscape Communicator.
Some info' though. I moved the click link to the child
and it works plus clicking the set table size links work
too. Then I noticed if the mouse doesn't move off the
counter link it works but then as soon as the mouse is
moved crash! Attached modified test file.
In dynlayer_ns4.js :
1) _assignElement
There is a comment:
// useful for <forms>, images, links, etc
- perhaps this is the problem area
2) enableBlackboard
var parentElement = this.parent.isClass('DynLayer')?
this.parent.elm : this.parent.frame;
var elm = this._blkBoardElm = new Layer(0, elm);
- the parent should be passed to the new Layer cmd
though this doesn't fix it.
Hope this helps. Does just including 'DynLayer' include
any more of the api by default - I'm thinking of the all
the mouse event stuff. As the problem is with clicked
links rewritten to the blkboard layer with setHTML.
-
Kevin
|
|
From: Raymond I. <xw...@ya...> - 2003-04-25 20:31:40
|
--- Kevin <ke...@ke...> wrote:
> Hi Raymond,
>
> I tried your updates. NS4 on Linux still crashes.
> What
> version of Linux are you testing against? NS4 should
> come as standard. Using the gnome window manager
> start->programs->internet->Netscape Communicator.
>
> Some info' though. I moved the click link to the
> child
> and it works plus clicking the set table size links
> work
> too. Then I noticed if the mouse doesn't move off
> the
> counter link it works but then as soon as the mouse
> is
> moved crash! Attached modified test file.
>
> In dynlayer_ns4.js :
> 1) _assignElement
> There is a comment:
> // useful for <forms>, images, links, etc
> - perhaps this is the problem area
> 2) enableBlackboard
> var parentElement = this.parent.isClass('DynLayer')?
> this.parent.elm : this.parent.frame;
> var elm = this._blkBoardElm = new Layer(0, elm);
> - the parent should be passed to the new Layer cmd
> though this doesn't fix it.
>
> Hope this helps. Does just including 'DynLayer'
> include
> any more of the api by default - I'm thinking of the
> all
> the mouse event stuff. As the problem is with
> clicked
> links rewritten to the blkboard layer with setHTML.
Thanks for the feedback. Including dynapi.api.DynLayer
will not include the mouse events. I'm also of the
opinion that it's the link that's causing the problem.
I would suggest that we move it outside of the layer.
To see if your version of ns4 is really having a
problem with links or mouse events please run the
dynapi.api.mouseevent.html example. It it crashes with
this example then will have to trace the problem.
--
Raymond Irving
> -
> Kevin
>
>
>
>
>
> ATTACHMENT part 2 application/x-zip-compressed
name=dynapi.api.dynlayer-blackboard.zip
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
|
|
From: Raymond I. <xw...@ya...> - 2003-04-25 22:05:52
|
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. 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.
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
|
|
From: Dan W. <da...@wi...> - 2003-04-25 22:23:06
|
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.
> 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.
>
> 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...>
|
|
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.../
|
|
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: 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: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: 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
|