RE: js: change element height on window resize - mozilla
by Collette McNeill <collette(at)mlwebworks.com>
|
Date: |
Thu, 16 Oct 2003 07:40:38 -0700 |
To: |
J_A_B(at)t-online.de (Jens Brueckmann), hwg-techniques(at)mail.hwg.org |
In-Reply-To: |
online |
|
todo: View
Thread,
Original
|
|
It does! Thank you so much!
Collette
At 11:47 AM 10/16/03 +0200, you wrote:
>Hi Colette,
>
>for your script to work with Mozilla you have to add a unit, e.g. px, to
>your new div and table size:
>
>document.getElementById('div1').style.height = YY + 'px';
>document.getElementById('table1').style.height = YYY + 'px';
>
>With YY and YYY being numbers this should work fine in IE, Mozilla and Opera.
>
>Yours,
>
>jens
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA