You are here: irt.org | FAQ | JavaScript | Screen | Q1202 [ previous next ]
Try:
<script language="JavaScript"><!--
if (document.layers) {
w = window.innerWidth;
h = window.innerHeight;
}
if (document.all) {
w = document.body.clientWidth;
h = document.body.clientHeight;
}
if (document.all || document.layers) {
window.moveTo(0,0);
window.resizeTo(w,h);
}
//--></script>