Home / Free JavaScripts / User System / Here

Cut & Paste Displays screen size of the surfer!
Credit: Not indicated in script

Description: The below script will display the screen size of each individual surfer...all you need is a java enabled browser.

Example:

Directions: Simply cut and paste this script into the <body> tags of your page.

<SCRIPT>
if (navigator.javaEnabled()) {
var toolkit = java.awt.Toolkit.getDefaultToolkit();
var screen_size = toolkit.getScreenSize();
width = screen_size.width;
height = screen_size.height;
}
document.write('Your screen size is '+width+'X'+height)
</SCRIPT>

Copyright © 1997-2007 JavaScript Kit. NO PART may be reproduced without author's permission.

CSS Library | JavaScript & DHTML Menus | Cheap Web Hosting | -Software Connection | Software Library
Web Development | Cheap Printer Ink | JavaScript Community | Web hosting