FF1+ IE5+ Opr7+

Screen Size Redirect Script

Author: Robert

Description: This much requested script by Robert redirects users to four different pages, depending on his monitor screen resolution (640x480, 800x600, 1024x768, other). Functional in all 4th+ generation browsers, including NS 6.

Demo: n/a

Directions: Developer's View

Insert the below into the <head> section of either your entrance page, or any page that proceeds the four destinations specified in the code:

Select All

Be sure to configure the four URLs inside.

Technical Notes

You can cut down on the four redirection choices of the script by specifying 2 or more destinations to be of the same URL. Also, since this script only performs the redirection action in 4th+ browsers, you should include a physical link on the page to allow lower end browsers to not be shut out of the process.

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