New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:


FF1+ IE5+ Opr7+

Screen resolution detection and notification Script

Author: Dynamic Drive

Description: A script that tests the surfer's screen size, and if it's not a certain size (ie: 800*600), suggests to the surfer to change resolution. Note: If you're screen resolution is 800*600, you will see nagging message appear below, since the resolution set to detect in the script is currently 800*600.

Demo:


Directions: Developer's View

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"

Select All