Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Screen resolution in IE 4 - July 16, 1998 at 10:33:31

You are here: irt.org | BBS | Screen resolution in IE 4 [This BBS is closed]

Posted by Ed Waddingham on July 16, 1998 at 10:33:31:

How do you find out someone's screen resolution in IE 4? In NN you can use the code:

<script>
toolkit = java.awt.Toolkit.getDefaultToolkit ();
screensize = toolkit.getScreenSize ();
document.writeln
("<p>" + "Your screen is " + screensize . width + " pixels wide." + "</p>");
document . writeln
("<p>" + "Your screen is " + screensize . height + " pixels tall." +"</p>");
</script>

But in IE 4 this does not work, as it does not recognize "java". Does anyone know an alternative?
Follow-ups:

You are here: irt.org | BBS | Screen resolution in IE 4 [This BBS is closed]

©2018 Martin Webb