From: Raymond I. <xw...@ya...> - 2003-04-22 05:32:07
|
--- Kevin <ke...@ke...> wrote: > Hello Everyone, > > Are NS4 <layer> elements allowed to be resized > after page load. > If not we shouldn't have a general setSize method. > The initial > size of a layer can't really be increased. I know > <div> elements > can but should setSize allow this in writing cross > browser code? > > If DynAPI offers support for NS4 should we only have > code in > CVS that works in NS4. I can't get the addHTML or > blackboard > stuff to work in NS4 on Linux? Yea, NS4 <layers> are a real pain. There might be a solution to the black board problem, but for the addHTML() I think there might be a work around. > Is it possible for an element to have '_created' set > before addChild() > is called? I'm refering to the call to c._create() > in addChild(). Yes, It is posible. When the page loads the _created property is set on all layers. If the parent is already created then it's time to create the child otherwise it will be ignored in the addChild() > Dynamically changing an element's style > border/position/class? It's > allowed at the moment and may cause problems. e.g. > setting border > after page load would behave differently cross > browser. Also setting > 'position:absolute' to 'position:relative' is > meaningless. Perhaps these > set methods could be initBorder() / initPosition() / > initClass() / > initSize() and just return null if called on a > rendered element. Well setPosition() and setClass() should work fine for modern browsers. setBorder() is currently works fine in ie but is having some problems with mozilla, opera, etc when the clip property is set. Does anyone have a work around to this? Most features will/should degrade gracefully in older browsers. So a function like setPosition() after page load is not support in NS4, but that's not to say that it can't work for other browsers, correct? The same goes for setCursor() which is not supported NS4 but the others will make good use of it. -- Raymond Irving > Kevin. > > > > > > > ------------------------------------------------------- > 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 |