You are here: irt.org | FAQ | JavaScript | Window | Q791 [ previous next ]
In Netscape Navigator 4 then yes - although It depends what the object is. Take a Java Applet for example:
<SCRIPT LANGUAGE="JavaScript"><!-- if (document.layers) document.write('<APPLET CODE="whatever" WIDTH="' + window.innerWidth + '" HEIGHT="' + window.innerHeight + '"></APPLET> else document.write('<APPLET CODE="whatever" WIDTH="400" HEIGHT="400"></APPLET> //--></SCRIPT>