爱易网
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 浏览次数:20243 次
以下是程序代码
<html> <head> <title>网页特效www.aiyiweb.com</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <body bgcolor="#FFFFFF" text="#000000"><style type="text/css"> <!-- #menuBar {position: absolute;left: -200px; width: 300px; top: 0px; clip: rect( )} #glider {position: absolute;left: 200px;top: 0px; width: 80px} .glideText {font-size: 18px;color: #E2E2E2;text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif} a:link { color: #D7D7D7; text-decoration: none} a:visited { color: #E0E0E0; text-decoration: none} a:active { color: #333333; text-decoration: none} a:hover { color: #333333} .mentd { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #333333; background-color: #999999; background-image: url(graygrid2.gif)} td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; color: #333333} h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; color: #FFFFFF} --> </style> <script language="JavaScript"> <!-- var pee = -200 var drec = 40; var speed = 20; //Don't touch! var l = pee; //Don't touch. This is the function that closes the menu function Proj7GlideBack () {l += drec; if (document.layers) { document.menuBar.left = l; } else if (document.all) {document.all.menuBar.style.pixelLeft = l; } else if (document.getElementById) {document.getElementById('menuBar').style.left = l + 'px'; } if (l < 0) setTimeout('Proj7GlideBack()', speed); else { if (document.layers) { var html = ''; html += '<A HREF="javascript:;"'; html += 'onClick="Proj7GlideOut(); return false;"'; html += 'Class="glideText"'; html += 'close'+ '<br>'; html += 'close'+ '<Br>'; html += '<\/A>'; var a = window.document.menuBar.document.glider; a.document.open(); a.document.write(html); a.document.close(); } else if (document.all) {document.all.glidetextLink.innerHTML = 'close'; document.all.glidetextLink.onclick = moveIn; } else if (document.getElementById) { document.getElementById('glidetextLink').firstChild.nodeValue ='close'; document.getElementById('glidetextLink').onclick = moveIn; } } } //Don't touch. This is the function that opens the menu function Proj7GlideOut () {l -= drec; if (document.layers) {document.menuBar.left = l; } else if (document.all) {document.all.menuBar.style.pixelLeft = l; } else if (document.getElementById) {document.getElementById('menuBar').style.left = l + 'px'; } if (l > pee) setTimeout('Proj7GlideOut()', speed); else { if (document.layers) { var html = ''; html += '<A HREF="javascript:;"'; html += 'onclick="Proj7GlideBack(); return false;"'; html += 'Class="glideText"'; html += 'menu'+ '<Br>'; html += 'menu'+ '<Br>'; html += '<\/A>'; var a = window.document.menuBar.document.glider; a.document.open(); a.document.write(html); a.document.close(); } else if (document.all) {document.all.glidetextLink.innerHTML = 'aiyiweb'; document.all.glidetextLink.onclick = moveOut; } else if (document.getElementById) { document.getElementById('glidetextLink').firstChild.node
上一篇:狡猾的按钮特效
下一篇:模仿Flash效果的导航菜单
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
高通拼抢国际芯片市场 联发科海外拓展难安心
二代 iPad Air将配备2GB内存?为同屏多任务做准备
“世界杯+618”集体磨刀的本质是绑架全民
国美电商开打价钱战 牟贵先言行矛盾受质疑
亚马逊Fire Phone:请别拿我跟苹果三星比
墨迹也要做硬件,工具类应用如何“变异”的
只有切到刚需痛点,漫画APP才能走下去
苹果iWatch或使用量产液态金属 将取代玻璃
众贷网满月开张 网络金融监管再受质疑
推荐阅读
更多>
乐视28日发布手机进展 LeUI系统Mobile版或曝光
2018双11阿里云老用户怎么参加拼团活动 老用户拼团方法
虚拟运营商前路迷茫 业界建议发力车联网
小米2S试水高端化 纯“性价比”玩法已成过去式
传运营商高层将变化 专家称需体制革新
联通丹东公司一高管造假套出手机变卖被判刑7年
支付宝全面封杀比特币:充值码淘宝店或遭封禁
谷歌欲收买WhatsApp添加砝码 对方否认
SAP高层调整:联席CEO孟鼎铭成唯一掌舵人
打车软件竞争白热化:有冷兵器时代意味
OPPO Find7体验测 Find7综测
微软为避免代理权争夺 与大股东达成和解协议
评论:马云的成功建立在什么基础上很值得怀疑
苏宁双线同价遇难题:第一个吃螃蟹不轻松
京东确定IPO定价区间 最高募资16.9亿美元
运营商补贴减少 国内通信业拐点逼近
巧用百度推行系统 突显竞价效果
传苹果中移动达成协议:新iPhone兼容TD制式
微软谷歌高层访韩面前:忌惮三星的崛起
易信工具性优势突出 丁磊三板斧或先砍在飞信上