See below: "Raymond Irving" <[EMAIL PROTECTED]> wrote:
> Hello Everyone, > > I've managed to get the Box Model Fix functions into > the api. Please see the attached zip file for the full > update. > > Please test and let me how well the new setBorder() > function performs I'll try to have a look at this. > Kevin, > > I've noticed that your Frame object did not add a > setBorder function to the DynLayer class. It seems to > be a separated object which inherits the from the > DynLayer class. Could we more the Frame Class into a > separate file called frame.js? This would make > bordermanager.js a little smaller. We could then use > dynapi.gui.Frame to include the frame class. Agreed, split it into gui.Frame. Yes I preferred to give the Frame a setBorder and addContent methods. So it's clear the frame (border) would be outside the content. Doing a set(Outer)Border or addFrame method to a DynLayer would be ok I think. Perhaps more difficult to implement if I remember! > Is there an example for the Skin Class found in > highlighter.js or is it a part of the Frame Class? Yes the Frame class uses Skins (extends Highlighter) for the sides / corners (borders) so they can be a solid color or textured / tiled using images. Using a skin graft will dynamically change the skin style/theme (style manager)? > PS. In my test results I find the new setBorder() much > faster than setInnerBorder. In cases where it took > 1500 ms it's now taking 600 ms. > Note: The box model fix for NS4 is still being worked > on. NS4 will be using DynLayers to create borders, > etc. Yes css should be fast. Though it would be nice to allow use of DynLayers (Skins, set(Outer)Border or addFrame ) in other browsers if a developer wanted that way of setting a frame border image / texture / tile / theme / style or what ever we call it. - Kevin > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.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]/