展会信息港展会大全

PHP经典特效代码:数据取得类
来源:互联网   发布日期:2016-03-01 14:39:26   浏览:2068次  

导读: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.writ...

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>

赞助本站

人工智能实验室

相关热词: 开发 编程 android

AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港