From: Kevin <ke...@ke...> - 2003-04-02 17:38:18
|
See comments below: "Raymond Irving" <xw...@ya...> wrote: > Hello, > > I've managed to create the setPosition(p) function > which supports absolute, relative and fixed positions. Yes this looks like what I had in mind. I'll need time to work through it. > The insertChild() function was also modified from > insertChild(c,usebp) to insertChild(c,pos, usbp). For > Example: > > dynapi.document.insertChild(lyr,'relative'); > > Please see the attached file for the new changes. > > I can't get ns4 to work relative positions, could > someone take a look at the code to see if they can > help? I had put together a raw example to show what I meant as I thought Raymond and Benoit were talking only about fixing an element in the window no matter what the scroll bar is.. This example uses an <ilayer> to give the relative container and the normal <layer> for the absolute positioned children in ns4. Any ideas how this could this be used with the new setPosition()? - Kevin > > -- > Raymond Irving > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com |