Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: obtain document height


Message #1 by "Alex Shiell, ITS, EB, SE" <alex.shiell@s...> on Thu, 18 Jul 2002 10:28:10 +0100
When I load a popup window I want to resize it so it is the same height as
the content within it, so theres no vertical scrolling.  How can I obtain
the required height?  

I've tried document.body.clientHeight, but that just returns the set size of
the window.  (This only needs to work in IE)

Cheers

________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com

Headquarters Address & Contact Numbers

150 Broomielaw
5 Atlantic Quay
Glasgow
G2 8LU.
Tel:  +44 (0) 141 248 2700.
Fax:  +44 (0)141 221 3217

 This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to
be disclosed to anyone other than the addressee. Unauthorised recipients
are requested to preserve this confidentiality and to advise the sender
immediately of any error in transmission.



  Return to Index