29-Nov-05 (Created: 29-Nov-05) | More in 'CS-JavaScript'

How to figure out screen resolution in javascript

http://www.pageresource.com/jscript/jscreen.htm

How to figure out screen resolution in javascript

Example

if ((screen.width>=1024) && (screen.height>=768))
{
 window.location="highres.html";
}
else
{
  window.location="lowres.html";
}