PHP经典特效代码:数据取得类

PHP经典特效代码:数据取得类

1.取得分辨率

<script>document.write("宽为"+screen.Width+"高为"+screen.Height)</script>

2.取得地址栏

<script>document.write(self.location)</script>

3.取得地址栏后参数

<SCRIPT>var add = top.location;

add = add.toString();

document.write (add.substring(add.indexOf("?")+1,add.length));

</SCRIPT>