browser height

This is a discussion on "browser height" within the JavaScript Forum section. This forum, and the thread "browser height are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 10th, 2004, 16:02
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
browser height

how can you detect the browser height with javascript? i mean ONLY the bit between the status bar and any toolbars they have at the top.. the bit that content appears on..

thanx bb

  #2 (permalink)  
Old May 10th, 2004, 20:14
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,619
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
like this:
window.availHeight (which return the "available" or internal height of the window)

you can also use this on the body tag:
body.availHeight

and if you're using frames, don't forget to use 'top'
top.window.availHeight
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Closed Thread

Tags
browser, height

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
100% height RZX Developer Web Page Design 11 Mar 29th, 2008 10:23
height: 100% Browser issues - okay in IE not in FF or Opera mmgrad Web Page Design 3 Oct 27th, 2007 11:24
How to make a table height equal to the browser height ? subhadip Starting Out 4 Sep 20th, 2007 07:56
Learn Browser Height And Enforce Window To Take At Least 95% transistortoaster Web Page Design 1 Mar 8th, 2007 16:30


All times are GMT. The time now is 22:30.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43