当php程序中需要客户窗口的分辩率时,可以这样
<?php if(! Copyright © 2008 qcode.org All Rights Reserved PHP编程开发 由朝夕网络维护
echo '' <script> location = location.href+"?screenX="+screen.width+"&screenY="+screen.height; </script> ''; exit; } $screenX = Copyright © 2008 qcode.org All Rights Reserved PHP编程开发 由朝夕网络维护
$screenY = Copyright © 2008 qcode.org All Rights Reserved PHP编程开发 由朝夕网络维护
?> 以下是其他内容 |
