Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Getting current frame height


Message #1 by Darren Wogan <darren.wogan@s...> on Thu, 28 Feb 2002 15:35:49 -0000
I have a frame page containing two frames. This frame page can be used in a

number of different frames, each frame occupying a different height (&

width) of the main browser window.



Is there any easy way to get the height of the current frame (either in the

frame definition page, or, if necessary, within the frame page itself)? I

need to know this to safely determine how many rows of text I can show

within the frame, without needing to scroll.



I am writing for IE5 or IE6 browsers (slightly exclusive I know, but thats

our application's target platform).



'window.screen.height' and 'window.screen.availHeight' apply to the full

browser window (or full screen size). I only wish to determine the height of

the current page. Does anyone know of a solution?



Darren Wogan

IT Consultant

Strategic Thought Limited

The Old Town Hall

4 Queens Road

London 

SW19 8YA

Tel:  +44 (020) 8410 4000

Fax: +44 (020) 8410 4030

Website: www.strategicthought.co.uk

Communicate tomorrow's risks today: www.arm-risk.com







************************************************************************* 

This message contains privileged and confidential information intended 

only for the use of the recipient named above. Its contents do not 

constitute a commitment by Strategic Thought Limited ("Strategic 

Thought") unless separately endorsed by an authorised representative 

of Strategic Thought. 

 

Any use, dissemination, distribution, reproduction or unauthorised 

disclosure of this message is prohibited. If you receive this message 

in error, please notify the sender immediately and delete it from your 

computer systems. 

 

Any views expressed in this message are those of the individual sender 

and may not necessarily reflect those of Strategic Thought. 

 

Strategic Thought believes this e-mail and any attachments to be virus 

free. However, the recipient is responsible for ensuring it is virus 

free and Strategic Thought do not accept any responsibility for any 

loss or damage howsoever caused from use of this e-mail, attachments 

or contents. 

************************************************************************* 






  Return to Index