Screen Resolution

JUST HIGHLIGHT THE TEXT THEN RIGHT CLICK, COPY AND PASTE INTO YOUR HTML PAGE.


">

JUST HIGHLIGHT THE TEXT THEN RIGHT CLICK, COPY AND PASTE INTO YOUR HTML PAGE.

Source code for Screen Resolution using JavaScript 1.2.

<Script Language="JavaScript"><!--
browserName=navigator.appName;
browserVer=parseInt(navigator.appVersion);
if ((browserVer >= 4 & browserName == "Netscape") | (browserVer >= 4 & browserName == "Microsoft Internet Explorer"))
version="4";
else
version="3";
if (version=="4") {
width = screen.width;
height = screen.height;
document.write("Your screen width is <B>" + width + "</B><BR>");
document.write("Your screen height is <B>" + height + "</B>");
}
//--></SCRIPT>


This document was last modified Tuesday, October 17, 2017