PHP动画特效运用 好用收藏编码举例说明——广州

摘要:<script>function key(){ if(event.shiftKey) alert("Shift不容许应用!");} document. ey; </script> 数据信息获得类 1.获得辨别率 <script>document.write("宽为"+screen.Width+"高为"+screen.Height)</script> 2.获得详...

<script>function key(){
if(event.shiftKey) alert("Shift不容许应用!");} document. ey; </script>

数据信息获得类

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>

常见动画特效类

1.首页控制器

<)
<SCRIPT language="JavaScript">
","_blank","width=200","height=200","scroll=no");
</SCRIPT>
)
<SCRIPT language="JavaScript">
function op(add){if (window.opener){window.opener.document.location = add;}}
</SCRIPT>
<a href=# >详细地址1 </a><br><a href=# >详细地址2 </a><br><a href=# >详细地址3 </a>

2.只弹一次的对话框

<script>
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {offset = document.cookie.indexOf(search)
if (offset != -1) {offset += search.length;end = document.cookie.indexOf(";", offset);
if (end == -1)end = document.cookie.length;returnvalue=unescape(document.cookie.substring(offset, end))}
}
return returnvalue;
}
function jx165ad(){
if (get_cookie('jx165ad')==''){
document.cookie="jx165ad=yes"
","_blank","width=200","height=200","scroll=no");
}
else {}
}
</script>
<body>
<script>
jx165ad();
</script>

3.电脑鼠标放到联接上强制点一下

<script>
function mClk2() {var source=event.srcElement;if (source.tagName=="A"){source.click();self.focus();}}
document.write("<div Clk2();>");
</script>



联系我们

全国服务热线:4000-399-000 公司邮箱:343111187@qq.com

  工作日 9:00-18:00

关注我们

官网公众号

官网公众号

Copyright?2020 广州凡科互联网科技股份有限公司 版权所有 粤ICP备10235580号 客服热线 18720358503

技术支持:小程序模板市场