Script Categories

User Details >>> Screen Percentage.

(Requires 4.0+ browsers) Displays what percentage of your screen's total area is being used by the browser window. This script will not even be run and will not cause errors in lower version browsers.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">      
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function getwindowsize() {
if (navigator.userAgent.indexOf("MSIE") > 0) {
var sSize = (document.body.clientWidth * document.body.clientHeight);
return sSize;
else {
var sSize = (window.outerWidth * window.outerHeight);
return sSize;
var percent = Math.round((getwindowsize()/(screen.width * screen.height)*100) * Math.pow(10, 0));
document.write("<b>This window is using about " + percent + "% of your available screen.</b>");
// End -->

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).