Publisher review:redirect on resolution - This very small code will enable you to detect the clients resolution and act on that accordingly. Different stylesheets for instance.Just put it in the application_top.php file// Resolution redirectif (!tep_session_is_registered('res')) {if (isset($HTTP_GET_VARS['res'])) {$_SESSION['res'] = $HTTP_GET_VARS['res'];} else {echo 'if (screen.width==800) { location.href="http://www.crystallight.com.tw/index.php?res=800" }if (screen.width==1024) { location.href="http://www.crystallight.com.tw/index.php?res=1024" }';echo "n";}}
redirect on resolution is a PHP script for osCommerce Addons scripts design by amanda.
It runs on following operating system: Windows / Linux / BSD.
Operating system:Windows / Linux / BSD