爱易网
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 浏览次数:20212 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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>
上一篇:狡猾的按钮特效
下一篇:隐藏菜单(一)
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
从WPS到office365,中国企业能否赶超美国?
苹果收购Beats交易或将延期尚需解决5大问题
百度对糯米来说到底意味着什么?
马云的SNS之梦有了新目标 收购“微博”
宽带中国战略明确 运营商建设成本超6000亿
三大运营商获通知大减营销费 传3年减400多亿
成本效益全兼顾 混合云市场前景显现
挂号网高管团体离任 或因投资人失掉决计
华为任正非:家族成员不会成为接班人
推荐阅读
更多>
创维冲击500亿梦想:转型硬件和内容供应商
App Store严禁推送广告 运用面临大清洗
易迅大众点评缩水执行“七天后悔权”被约谈
HTC手机为何一败再败?效果出在供应链
机器人进一步取代人类:将进军白领任务
人们为什么总愿尝试新社交网络?
中兴引进黑莓三个核心团队
中移动“重启”自有品牌手机成败难料
诺基亚仍是第二大手机商:功用机有利可图
微信收费形式三选一 腾讯或变身运营商
运营商补贴减少 国内通信业拐点逼近
广电总局回应美剧下架:不是所有信息可公开
iOS7拖累iPad 5、iPad mini2发布 传十月份推出
埃里克杰克森:阿里IPO估值至少1500亿美元
富士康人事故骚动方寸 不惜血本下注电商
苹果大中华区业绩回暖 中移动贡献或低于预期
窗口期:还有哪些互联网公司可能今年IPO?
中电信率先推移动转售业务 中下旬批量上市
微软为避免代理权争夺 与大股东达成和解协议
HTC与苹果三星距离扩展 C2B形式成新武器