I need some more infor to understand what you're trying to do after getting user's screen resolution. Redirecting to another page, ...or displaying different code (eg {vb:raw short_screen} instead of {vb:raw wide_screen}) etc
--------------- Added [DATE]1354994447[/DATE] at [TIME]1354994447[/TIME] ---------------
Quote:
Originally Posted by mokujin
Java Scrpit for check user's screen
var screenWidth = window.screen.width,
screenHeight = window.screen.height;
|
You know how to use it, me too eighter. But a non-coder trying to put it as is in the template he will mess everything.