Page-Details : Screen Resolution Detect/Redirect

By JavaScriptSource Staff on Sep 21, 2007

General

This very simple script detects the screen resolution of the user, and redirects them to the appropriate URL. It only needs to detect the screen width, making it compact and quick.


Notes

  • Created by: RoBorg
  • Web Site: http://javascript.geniusbug.com
  • Posted: September 21, 2007

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: screenRes.js


Head

Paste this code into the HEAD section of your HTML document.


Comments

Blog comments powered by Disqus