Categories:

Home / Free JavaScripts / User System / Here

Cut & Paste Screen resolution detection and notification (Requires NS 4.x or IE 4.x)

Credit: JavaScript Kit

Description: A script that tests the surfer's screen size, and if it's below a certain size (ie: 800*600), suggests to the surfer to change resolution.

Example: If your screen resolution is below 1024*768, you will see a nagging message appear below to advise you to change resolotions, since the resolution set to detect in this example is   1024*768.

Directions: Insert the below into the <body> section of your page: You can change the resolution to detect by changing the numbers in "correctwidth" and "correctheight".


JavaScript Tools:
Site Info

CopyRight 1998-2012 JavaScript Kit. NO PART may be reproduced without author's permission.