SR Detection

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.

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.

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".

 

Links

Resources