Get the browser width and height in internet explorer
<script type=”text/javascript”>
w = 0;
h = 0;
w = document.documentElement.clientWidth;
h = document.documentElement.clientHeight;
alert("w: " + w + ", h: " + h);
</script>
<script type=”text/javascript”>
w = 0;
h = 0;
w = document.documentElement.clientWidth;
h = document.documentElement.clientHeight;
alert("w: " + w + ", h: " + h);
</script>
Comments
Post a Comment