Resizing layers in Firefox

"Kenneth Chr. Nilsen" <[email protected]>
Newsgroups gmane.comp.web.dom.wdf
Organization Optisoft
Message-ID <000001c5f784$4306a5a0$0a01a8c0@winhell>
Hi all,
 
I have made a webpage that partly uses a javascript to resize a couple of
layers so that it will fit to the window when the window gets resized.
This works fine with IE, but in Firefox nothing happands. Does anyone know
how or if it's possible to do this with FF?
I don't get an error in FF - it just seem to ignore it... :-(
 
The script uses styles for setting new sizes, f.ex:
-----8X--------------
 var mLay4 = new getObj('frmWorkarea'); // Custom (Quirkmodes) function (to
get object for the different supported DOMs.
 mLay4.style.height = wh;
 mLay4.style.width = ww;
-----8X--------------
(note: replacing the getObj() with checking for DOM in place makes no
difference.
'wh' and 'ww' are precalculated sizes based on window-geometry.
 
Regards,
Kenneth


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/9rHolB/TM
--------------------------------------------------------------------~-> 

Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.