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.


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

Wordpress Users: Step by Step instructions to add ANY Dynamic Drive script to an entire Wordpress theme or individual Post