PDA

View Full Version : Screen SResolution Detect/Alter script


Ghost Rider
03-13-2003, 02:27 AM
I doubt it exists but I figure I'd ask

there are scripts to detect and display a surfers screen resolution, etc, and scripts that can redirect a surfer to a page depending on their resolution BUT

Is there a script that works in IE and NS, that will detect the surfer's screen resolution and if need be, resize it to a more appropriate setting?

Say your site is best viewed with a minimum of 1024 x 768 and someone is surfing with resolution of 800x 600. The script would alter resolution to 1024X768 and alert the surfer that it was done so that they could change the resolution later?

Borgtex
03-13-2003, 03:52 AM
no

hkucsis
03-13-2003, 05:12 AM
You can't alert the client's setting but you can always detect the resolution (use something like "screen.width") and redirect him to the approiate page.

Ghost Rider
03-13-2003, 08:54 PM
Thats what I thought. Thanks guys!