Page-Details : Screen Resolution Detect/Redirect

By JavaScriptSource Staff on Sep 21, 2007


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.


  • Created by: RoBorg
  • Web Site:
  • 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


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