Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: finding out the dimensions of the browser window (IE)


Message #1 by Igor Frankovic <ifran@w...> on Mon, 17 Feb 2003 16:48:04 -0800
You need to acount for the scrollable width of a page. 

This is done with document.body.scrollLeft and document.body.scrollWidth

Have a look at 
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/om/measuring.asp

This will show you how to calculate the exact position of objects



Scott Thomas
Developer Gala Leisure

 

_____________________________________________________________________
This message and any attachments are confidential and should only be 
read by the intended recipient. If you are not the intended recipient,
please inform us by replying to this message, delete the message from
your computer and destroy any copies. Any distribution or copying 
without prior permission is prohibited.

This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service.

Registered Office: Gala Group Limited, New Castle House, Castle Boulevard, Nottingham, NG7 1FT. Registered in England no. 3927901

  Return to Index