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>

www.phpzy.comtrue/php/28247.htmlTechArticlePHP经典特效代码:数据取得类 1.取得分辨率 <script>document.write(宽为+screen.Width+高为+screen.Height)</script> 2.取得地址栏 <script>document.write(self.location)</script> 3.取得地址栏后参数 <...

相关文章

    暂无相关文章

PHP之友评论

今天推荐