"Raymond Irving" <[EMAIL PROTECTED]> wrote:

>
> --- Kevin <[EMAIL PROTECTED]> wrote:
> > The setInnerBorder code could be changed now to add
> > the
> > Highlighters as correct outer dimensions for NS4
> > (would
> > the new auto size stuff take care of the parents
> > increased
> > size?).
>
> I would not want to modify the setInnerBorder()
> function as it should only be used to create inner
> borders.

I agree. I meant the technique setInnerBorder uses with Highlighters
can be done in setOuterBorder for NS4 only (will the new auto size
stuff fix parent layer's increased dimensions??) and use CSS and
FixBoxModel for all other browsers.

> > Add the above suggested NS4 code to new setCSSBorder
> > (default solid style) and put it in the
> > bordermanager.js file
> > with the FixBoxModel code. If setCSSBorder is called
> > on
> > a layer do a dynapi.onLoad FixBoxModel for that
> > layer if
> > not already added?
>
> I'm thinging about modifing setBorder() to support
> both css and layer style borders:
>
> example
>
> setBorder(1,'black','solid') // css, layers for ns4
> setBorder(1,'black','dotted') // css, layers for ns4
> setBorder(1,'black','double') // css, layers for ns4
> setBorder(1,'black','groove') // css, layers for ns4
> setBorder(1,'black','layer') // use dynlayers
> setBorder(1,'black','image') // use images

Mmm Currently the third param is used for corner images.

Also using layers setBorder already does:
setBorder([0,0,2],'dotted.gif') // dotted underline etc.
setBorder(2,'double.gif',['tr-double.gif','br-double.gif','bl-double.gif','tl-double.gif'])
 // well
you can  do anything you like in ns4 using this but the gifs have to be made in the 
correct
color!

How were you going to get color and style in ns4? Without having a colored layer for
each dot or dash :(

> where solid will be the default and we could still do
> things like setBorder([t,r,b,l],[t,r,b,l],style)
>
> What do you think?

Perhaps change my setBorder to setOuterBorder (change examples) and work
on a new all singing and dancing 
setBorder(([t,r,b,l],[t,r,b,l],*styleORcornerimagearray)
Also my defaulting mechanism may break so I wouldn't want to go in there again :)
Currently setBorder detects a '.' in the second or third param arrays to mean an image 
or
solid color.

*styleORcornerimagearray='solid' || 'inset' || 'outset' || ... || [
'tr.gif','br.gif','bl.gif','tl.gif' ]

eg.
For ns4 'inset' would use layers and 'horizInset.gif' and 'vertInset.gif' and 
predetermined
corner inset images. If not a known 'style' string use the array of corner images.

-
Kevin

>
> > I'm assuming the FixBoxModel code is doing something
> > similar to the previously posted:
> > http://jscript.dk/Util/BoxModelFix/
> > so all browsers have outer borders? I haven't had
> > much
> > time to delv into this lately.
>
> Yes it is
>
> --
> Raymond Irving
> > -
> > Kevin
> >
> > >
> > > --
> > > Raymond Irving
> >
> >
> >
> >
> -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> >
> http://www.mail-archive.com/[EMAIL PROTECTED]/
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to