js: change element height on window resize - mozilla

by Collette McNeill <collette(at)mlwebworks.com>

 Date:  Wed, 15 Oct 2003 12:50:19 -0700
 To:  hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
Hello,

I have a page which loads several div's, only one is visible at a time. 
Under certain conditions I want to resize the div's and their embedded 
tables without reloading the whole page.

When the element is <div> or <table>, this method works in IE but not in 
MOzilla!
========================================
document.getElementById('div1').style.height = YY;
document.getElementById('table1').style.height = YYY;
========================================
Anyone know how to do this in MOzilla?

Many thanks,
Collette

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA