You are here: irt.org | FAQ | JavaScript | Screen | Q1166 [ previous next ]
By using:
<script language="JavaScript"><!-- var height, width; if (document.all) height = document.body.offsetHeight, width = document.body.offsetWidth; else if (document.layers) height = window.innerHeight, width = window.innerWidth; //--></script>