<br> You know, everywhere I look I see "use document.body.clientHeight or document.body.offsetHeight", but those don't seem to do the job. In IE, they don't account for some of the browser chrome, and in Firefox, they measure the entire scroll height of the body element.<br><br> The best I can find is window.resizeTo(width, height) which will set the window's dimensions to the integers that you specify. That isn't what you asked for, but maybe it will help a little...?<br><br>Peter<br><br><font face="Tahoma, Arial, Sans-Serif" size=2>
<hr align=center width="100%" SIZE=2>
<b>From</b>: Tamilarasi Elumalai <tam_soft@yahoo.co.in><br><b>Sent</b>: Tuesday, March 18, 2008 7:24 AM<br><b>To</b>: javascript@lists.evolt.org<br><b>Subject</b>: [Javascript] how to get browser height</font><br><br>
<table cellSpacing=0 cellPadding=0 border=0>
<tbody>
<tr>
<td>
<p>hi friends,</p>
<p> i am trying to get browser height using java script. I have used screen.availHeight. but it doesn't return correct height of the browsers. when i resized my browser it seems the same value even the height is very lower .. is there any way to find exact browser height . its should be excluded the task bar.</p>
<p> </p>
<p>please help me. its urgent</p>
<p> </p>
<p>thanks & regards </p>
<p>Tamilarasi.E</p></td></tr></tbody></table><br><!--2-->
<hr SIZE=1>
</hr>Unlimited freedom, unlimited storage. <a href="http://in.rd.yahoo..com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">Get it now</a><br>