--- Kevin <[EMAIL PROTECTED]> wrote: > > 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.
When layer are used as borders they are anchored to their parent. The new autosize feature only adjust the size of the layer whenever its content has been modified. I think there is a problem with the Frame objects and the autosize function. This I think has something to do with the way in which parent/child relationships are altered and the setSize functions. > > 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 :( NS4 will only support solid style using dynlayers. For dotted lines in ns4 a user can use the image section. > > 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. Sounds good to me. I will make the necessary changes to the BorderManager once I've fiqured out a way to neatly fix the FixBoxModel stuff inside DynAPI without having to wait for the layers to be created. -- Raymond Irving > - > 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]/ __________________________________ 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]/