<head> of your html document
<script type="text/javascript">
var scraH1 = screen.availHeight;
</script>
<body>
<script type="text/javascript">
<!--
document.write(""+scraH1+"px");
//-->
</script>
Screen Available Height - Displays:
Save the following script as screenavheight.js
<!--
var scraH2 = screen.availHeight;
document.write(""+scraH2+"px");
// or
// document.write(""+screen.availHeight+"px");
// without variable
//-->
<body> of your html document
<script src="/js/screenavheight.js" type="text/javascript"></script>
Screen Available Height - Displays:
<body> of your html document
<script type="text/javascript">
<!--
var scraH3 = screen.availHeight;
document.write("Screen Available Height is "+scraH3+"px");
// or
// document.write("Screen Available Height is "+screen.availHeight+"px");
// without variable
//-->
</script>
Screen Available Height - Displays: