View Full Version : diffrent skins by screen resolution
Chirag patel
02-12-2007, 07:16 PM
How do I send my visitors to a different skins by looking at their resolution???
Analogpoint
02-12-2007, 08:29 PM
How do I send my visitors to a different skins by looking at their resolution???
Find out the user's screen resolution via Javascript and send them on to the correct skin.
Recommendation: Don't do it, since the Javascript for this is buggy and not supported across many browsers, and it doesn't always return the correct screen resolution.
bahaa2008
02-12-2007, 09:17 PM
can u use php instead of javaScript may be as "php header included"
Analogpoint
02-13-2007, 04:29 AM
can u use php instead of javaScript may be as "php header included"
No. Php has no way of knowing the user's screen resolution.
AN-net
02-13-2007, 12:13 PM
use javascript to determine the screen resolution and then just show a message suggesting the user use another style which is optimized to their resolution.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.