当php程序中需要客户窗口的分辩率时,可以这样
发表于:2007-07-01来源:作者:点击数:
标签:
<?
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.ltesting.net