You are here: irt.org | FAQ | JavaScript | Window | Q1353 [ previous next ]
After the <body> tag try width:
<body>
<script language="javascript"><!--
if (document.layers)
window.innerWidth = 415;
else if (document.all) {
window.top.resizeBy(415-window.top.document.body.clientWidth,0);
}
//--></script>and height:
<body>
<script language="javascript"><!--
if (document.layers)
window.innerHeight = 415;
else if (document.all) {
window.top.resizeBy(0,415-window.top.document.body.clientHeight);
}
//--></script>