爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
超酷导航层
超酷导航层
日期:2014-05-18 浏览次数:20390 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <script language="JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function P7AniMagic(el, x, y, a, b, c, s) { //v2.5 PVII var g,elo=el,f="",m=false,d="";x=parseInt(x);y=parseInt(y); var t = 'g.p7Magic = setTimeout("P7AniMagic(\''+elo+'\','; if ((g=MM_findObj(el))!=null) {d=(document.layers)?g:g.style;}else{return;} if (parseInt(s)>0) {eval(t+x+','+y+','+a+','+b+','+c+',0)",' + s+')');return;} var xx=(parseInt(d.left))?parseInt(d.left):0; var yy=(parseInt(d.top))?parseInt(d.top):0; if(parseInt(c)==1) {x+=xx;y+=yy;m=true;c=0;} else if (c==2) {m=false;clearTimeout(g.p7Magic);} else {var i=parseInt(a); if (eval(g.moved)){clearTimeout(g.p7Magic);} if (xx<x){xx+=i;m=true;if(xx>x){xx=x;}} if (xx>x){xx-=i;m=true;if(xx<x){xx=x;}} if (yy<y){yy+=i;m=true;if(yy>y){yy=y;}} if (yy>y){yy-=i;m=true;if(yy<y){yy=y;}}} if (m) {if((navigator.appName=="Netscape") && parseInt(navigator.appVersion)>4){ xx+="px";yy+="px";} d.left=xx;d.top=yy;g.moved=true;eval(t+x+','+y+','+a+','+b+','+c+',0)",'+b+')'); }else {g.moved=false;} } //--> </script> <style type="text/css"> <!-- .t { filter: Alpha(Opacity=50)} td { font-size: 12px; line-height: 22px} a:link { color: #FFFFFF; text-decoration: none; height: 20px; width: 63px; border-color: #33CCFF #30CCFF #30CCFF; background-color: #0099FF; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px} a:visited { color: #FFFFFF; text-decoration: none; height: 20px; width: 63px; border-color: #33CCFF #30CCFF #30CCFF; background-color: #0099FF; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px} a:hover { background-color: #FF66FF; height: 20px; width: 61px; border: #FFFFFF; border-style: dotted; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px} --> </style> <div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1"> <div id="Layer2" style="position:absolute; left:264px; top:59px; width:67px; height:52px; z-index:2; background-color: #0068FF; layer-background-color: #0068FF; border: 1px none #000000; visibility: visible" class="t"> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"> <tr> <td align="center" valign="top"><font color="#FFFFFF" onMouseOver="P7AniMagic('Layer2',210,35,5,30,0,0)" onMouseOut="P7AniMagic('Layer2',264,59,5,30,0,0)">on 1 <a href="#;">第一項</a> <a href="#;">第二項</a> <a href="#;">第三項</a> </font></td> </tr> </table> </div> <div id="Layer3" style="position:absolute; left:264px; top:81px; width:66px; height:84px; z-index:3; backg
上一篇:狡猾的按钮特效
下一篇:导航小窗口提示
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
为啥苹果定要出廉价iPhone?都是安卓逼的
中国邮政与阿里合作:邮政网点可做网购自提点
微软张亚勤趋势判断:未来三十年属于物理化互联网
360涉足搜索范围 百度市场份额面临应战
前苹果顾问批判iPhone命名:不应加S
微软小冰复活再战移动端:改与米聊、易信和触宝合作
Facebook思科联手推免费WiFi 欲覆盖全美
虚拟运营商流量不清零吸引用户 盈利待明
App Store严禁推送广告 运用面临大清洗
推荐阅读
更多>
戴尔正告继续上市存风险 称黑石伊坎方案有缺乏
全球网络遭史上最大规模攻击:攻击数据每秒300G
iOS7拖累iPad 5、iPad mini2发布 传十月份推出
搜狐与奇虎360或结盟对抗BAT
从3G牌照发放看中国4G规划效果
中国联通困局:遭遇OTT宽带4G三大难题
苹果MacBook Air劣势渐显 或推新产品改变命运
余额宝收益率跌破5% 银行系宝宝收益率赶超
工商下月将整治手机市场
iSuppli:上网本将于2015年退出市场
天音通信170套餐试商用放号:流量两年不清零
2018双11阿里云老用户怎么参加拼团活动 老用户拼团方法
国内首个大数据系列指数今日发布
携程整合去哪儿陷入僵局 欲联手老对手艺龙
三星石墨烯制备技术获突破
诺基亚培育低端机市场 迂回战术要挟中华酷联
在线音乐出现“小米公司”不是没有可能
中国雅虎邮箱今日关停 由盛及衰的背后
蓝宝石PK大猩猩玻璃:作为屏幕谁更有优势?
“宽带中国”计划已正式上升为国家战略