爱易网
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 浏览次数:20225 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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>
上一篇:狡猾的按钮特效
下一篇:隐藏菜单(一)
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
阿里入股虎嗅:媒体的脊梁弯了?未必!
雷军收买腾讯金山股份:持股比例升至27%
京东很忙:升服务推产品更新招股书 能赶在阿里前上市?
iPhone 6 Plus要召回是谣言
2013年至今中国互联网行业十大并购案汇总
刘强东:京东上市融资用于开拓三至六线城市
摩托罗拉移动裁员关闭德州Moto X手机工厂
网曝富士康500万iphone遭退货是确证的事
埃里克杰克森:阿里IPO估值至少1500亿美元
推荐阅读
更多>
欧盟控诉苹果在爱尔兰非法进行税收交易
雷军收买腾讯金山股份:持股比例升至27%
9158屌丝逆袭 从在线“夜总会”转型KTV
中移动本月推手机钱包 iPhone遭边缘化
互联网金融一周年:余额宝最接地气,比特币最作死
称产品遭诋毁 奇虎再诉百度
微软觊觎移动互联市场:手机未出渠道先行
欧洲6万人起诉Facebook隐私侵权
中兴通讯不打机海战术 将向中高端手机转型
iSuppli:上网本将于2015年退出市场
迅雷向美SEC提交IPO招股书:拟最多筹资1亿美元
200美元英特尔Android笔记本行将到来
NoomWeight减肥
百度“全网寻人”面前的互联网信息枢纽价值
“世界杯+618”集体磨刀的本质是绑架全民
新一代iPhone11月底国内上市 支持TD制式
优酷土豆携手新浪微博 谋攻移动视频失地
巨人网络回应央视 否认应用黑客停止诈骗
PC迎9年来出货量新低 平板电脑渐成主流
中移动业绩增长趋缓 目光转向海外市场