|
Posted by Toby Inkster on 02/25/06 21:48
asnowfall wrote:
> Is there a property to give 'screen.height' after subtracting the
> height of browser's bottom border(on which tooltips are displayed );
The term you're after is "status bar", not "bottom border".
Firstly, there are plenty of other things you need to subtract if you want
to find out the available space you have: e.g. toolbars, browser title
bar, and you have to take into account the fact that many people (40-50%)
do not surf with their browser window maximised.
Secondly, once you have this information, you're probably going to try to
do something stupid with it. (Most people who do ask this soft of question
do something stupid.) Please post a message explaining why you want this
information, and we'll tell you why it's stupid.
Finally, if you want to ignore my warnings, you probably want the first
code segment on this page:
http://www.quirksmode.org/viewport/compatibility.html
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|