爱易网
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 浏览次数:20285 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <script language="JavaScript1.2"> function move(x) { if (document.all) { object1.style.pixelLeft += x; object1.style.visibility = "visible"} else if (document.layers) { document.object1.left += x; document.object1.visibility = "show"}}; function makeStatic() { if (document.all) {object1.style.pixelTop=document.body.scrollTop+20} else {eval(document.object1.top=eval(window.pageYOffset+20));} setTimeout("makeStatic()",0);} </script> <style> <!-- .hl { Background-Color : yellow; Cursor:hand; } .n { Cursor:hand; } --> </style> <LAYER visibility="hide" top="20" name="object1" bgcolor="black" left="0" onmouseover="move(132)" onmouseout="move(-132)"> <script language="JavaScript1.2"> function positionmenu(){ move(-132) } if (document.all) {document.write('<DIV ID="object1" style="visibility:hidden;cursor:hand; Position : Absolute ;Left : 0px ;Top : 20px ;Z-Index : 20" onmouseover="move(132)" onmouseout="move(-132)">')} </script> <table border="0" cellpadding="0" cellspacing="1" width="150" bgcolor="#000000"> <tr><td bgcolor="#0099FF"> <font size="4" face="Arial"><b>Menu</b></font></td> <script language="JavaScript1.2"> document.write('<td align="center" rowspan="100" width="16" bgcolor="#FF6666"><span style="font-size:13px"><p align="center"><font face="Arial Black">S I D E M E N<BR>U</font> </span></TD>') </script> </tr> <script language="JavaScript1.2"><!-- if (document.all||document.layers) { makeStatic();} var text=new Array(); var thelink=new Array(); //configure thelinks below. Extend as desired text[0]="网络编程"; text[1]="网易"; text[2]="新浪"; text[3]="搜狐"; text[4]="雅虎"; text[5]="江苏音符"; text[6]="常州信息港"; text[7]="爱易网"; thelink[0]="http://www.1stscript.com"; thelink[1]="http://www.163.ocm"; thelink[2]="http://www.sina.com.cn"; thelink[3]="http://www.sohu.com"; thelink[4]="http://www.yahoo.com"; thelink[5]="http://www.jsinfo.net"; thelink[6]="http://www.cz.jsinfo.net"; thelink[7]="http://www.k688.com"; //enter target of above links //Valid values are '', 'new', or 'framename' (where 'framename' is the name of the frame you wish the links to target) var linktarget='' ///DO NOT EDIT BELOW THIS LINE//////////////// function navigateie(which){ if (linktarget=='') window.location=thelink[which] else if (linktarget=='new') window.open(thelink[which]) else{ temp_var=eval("window.parent."+linktarget) temp_var.location=thelink[which] } } for (i=0;i<=text.length-1;i++) if (document.all) {document.write('<TR><TD height=20 bgcolor=white onclick="navigateie('+i+')" onmouseover="className=\'hl\'" onmouseout="className=\'n\'"><FONT SIZE=2 FACE=ARIAL> '+text[i]+'</FONT></TD></TR>')} else {document.write('<TR><TD bgcolor="white"><ILAYER><LAYER HEIGHT="18" onmouseover="this.bgColor=\'yellow\'" onmouseout="this.bgColor=\'white\'" width=131><FONT SIZE=2 FACE=ARIAL> <A HREF="'+thelink[i]+'" target="'+linktarget+'" id="nounderline">'+text[i]+'</A></FONT></LAYER></ILAYER></TD></TR>')} //--> </script> <tr> <td bgcolor="#0099FF"><font size="1" face="Arial"> </font></td> </TR> </table> <script language="JavaScript1.2"> if (document.all) {document.write('</DIV>')} window.onload=positionmenu </script> </LAYER> <a href="http://www.aiyiweb.com/js/">欢迎访问爱易网JS特效</a>
上一篇:狡猾的按钮特效
下一篇:隐藏菜单(一)
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
探析APP移动营销发扬实效的微妙
虚拟运营商流量不清零吸引用户 盈利待明
苹果CEO抱歉解读:是战略而非“屈服”
2019双12阿里云老用户怎么参加拼团活动 老用户拼团方法
中国移动承诺再降4G资费 网络漫游至50个国家
火狐手机发展前路:或被运营商绑架
苹果已经允许开发者提交64位应用程序
弯曲变形:手机全新的交互方式
马云自称在美国曾被绑票
推荐阅读
更多>
蘑菇街CEO陈琪:2015将回归社会化电商
巧用百度推行系统 突显竞价效果
传三星为赢得新兴市场:推廉价版Note3
据消息传百度将要控股携程 整合去哪儿
唯品会荣登“最贵中概股”的欢喜与哀愁
广电总局回应美剧下架:不是所有信息可公开
孙正义入股阿里往事还原:阿里巴巴并非软银首选
美国电影协会在华起诉迅雷侵权 要求赔偿并道歉
HDS发布《2013中国CIO洞察白皮书》
微软提示XP只剩365天寿命:用户被绑架?
马云:银行若放开存款利率 余额宝死了也光荣
iSuppli:上网本将于2015年退出市场
IT企业人才争夺战打响:员工待遇水涨船高
阿里入股虎嗅:媒体的脊梁弯了?未必!
微软小冰复活再战移动端:改与米聊、易信和触宝合作
阿朗力避步北电后尘 急切停止自我革新
惠普中国转型只是缩影 未来开展不可预期
新浪微博推粉丝头条功能 意欲与大号分成
公信力消失:马航事件社交媒体传播之痛
谷歌新技术进入iOS平台:将叫板苹果Siri