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>
时间: 2024-11-08 18:52:56