HighDots Forums  

Window size without toolbars and etc...

Javascript JavaScript language (comp.lang.javascript)


Discuss Window size without toolbars and etc... in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gabon
 
Posts: n/a

Default Window size without toolbars and etc... - 02-01-2006 , 12:39 PM






Hi guys, is there a way to get the available size inside the window?
technically a kind of otherHeight - (toolbarsH + scrollbarsH + etc).

Thanks, chr


Reply With Quote
  #2  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: Window size without toolbars and etc... - 02-01-2006 , 01:31 PM






gabon wrote:

Quote:
Hi guys, is there a way to get the available size inside the window?
technically a kind of otherHeight - (toolbarsH + scrollbarsH + etc).
AFAIK, document.body.offsetHeight or window.innerHeight work quite well
for my UFPDB:

<URL:http://pointedears.de/ufpdb/main.en>

Read the source code of the bottom left Categories frame. (Note that it
has a history and, unfortunately, I cannot update it currently.)


PointedEars


Reply With Quote
  #3  
Old   
gabon
 
Posts: n/a

Default Re: Window size without toolbars and etc... - 02-07-2006 , 03:14 PM



Thanks Thomas, probably I won't need that script but in the case I'll
make a try. Thanks again and sorry for the late reply.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.