php程序中需要客戶窗口的分辯率時
發表于:2007-07-14來源:作者:點擊數:
標簽:
<?
php if(!$_GET["screenX"]) {
echo '
<script>
location = location.href+"?screenX="+screen.width+"&screenY="+screen.height;
</script>
';
exit;
}
$screenX = $_GET["screenX"];
$screenY = $_GET["screenY"];
?>
以下是其他內容
原文轉自:http://www.anti-gravitydesign.com