爱易网
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 浏览次数:20208 次
以下是程序代码
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="keywords" content="站长,网页特效,js特效,广告代码,zzjs,zzjs.net,sky,www.zzjs.net,站长特效 网" /> <meta name="description" content="www.zzjs.net,站长特效网,站长必备js特效及广告代码。大量高质量js特效,提供高质量广告代码下载,尽在站长特效网" /> <title>表格图层可展开闭合特效,sky整理收集,站长特效网欢迎您。</title> </head> <body> <style type="text/css"> DIV.clTopMenu{position:absolute; width:101; height:150; clip:rect(0,101,14,0); visibility:hidden; z-index:31; layer-background-color:#EEEEEE; background-color:#00CCFF} DIV.clTopMenuBottom{position:absolute; width:101; height:3; clip:rect(0,101,3,0); top:11; layer-background-color:#CECFCE; background-color:#000099; z-index:2} DIV.clTopMenuText{position:absolute; width:91; left:5; top:15; font-family:"Arial", "Helvetica", "sans-serif"; font-size:9pt; background-color:#EEEEEE; z-index:1; color: #000000} a:link { color: #000000; text-decoration: none} </style> <script language="JavaScript" type="text/javascript"> /********************************************************************************** NewsMenu * Copyright (C) 2001 Thomas Brattli * This script was released at DHTMLCentral.com * Visit for more great scripts! * This may be used and changed freely as long as this msg is intact! * We will also appreciate any links you could give us. * * Made by Thomas Brattli *********************************************************************************/ function lib_bwcheck(){ //Browsercheck (needed) this.ver=navigator.appVersion this.agent=navigator.userAgent this.dom=document.getElementById?1:0 this.opera5=this.agent.indexOf("Opera 5")>-1 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0; this.ie4=(document.all && !this.dom && !this.opera5)?1:0; this.ie=this.ie4||this.ie5||this.ie6 this.mac=this.agent.indexOf("Mac")>-1 this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5) return this } var bw=new lib_bwcheck() /******************************************************************************** If you want to change the appearens on the text, background-colors, size or anything do that in the style tag above. This menu might not be as easy to adapt to your own site, but please play around with it before you mail me for help... ****************************************************************************/ /*************************************************************************** Variables to set. ****************************************************************************/ //There are 2 ways these menus can be placed // 0 = column // 1 = row nPlace=0 //How many menus do you have? (remember to copy and add divs in the body if you add menus) var nNumberOfMenus=2 //修改图层的显示位置 var nMwidth=101 //The width on the menus (set the width in the stylesheet as well) var nPxbetween=20 //Pixels between the menus var nFromleft=10 //The first menus left position var nFromtop=20 //The top position of the menus var nBgcolor='#CECFCE' //The bgColor of the bottom mouseover div var nBgcolorchangeto='#6380BC' //The bgColor to change to var nImageheight=11 //The position the mouseover line div will stop at when going up! /*************************************************************************** You shouldn't have to change anything below this ****************************************************************************/ //Object constructor function makeNewsMenu(obj,nest){ nest=(!nest) ? "":'document.'+nest+'.' this.css=bw.dom? document.getElem
上一篇:狡猾的按钮特效
下一篇:可随意拖动的图层
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
史上最严电话实名制9月实行 三大难题待解
完美入股盛大:一桩各怀心事的交易
从WPS到office365,中国企业能否赶超美国?
华为任正非:家族成员不会成为接班人
中移动将推出多项4G资费新政
同样的背景,罗永浩和雷军到底有什么不同?
CSS控制字符长度和显示长度
Kindle入华遭遇国内厂商“围剿 ” 电信也参战
微信将商场O2O战火烧到了阿里巴巴老家
推荐阅读
更多>
腾讯再次重申:普通微信誉户相对不收费
联发科享用价钱战 专利难以摆脱高通
中电信国际漫游费下调85% 世界杯上网28元/天
Android版WhatsApp曝漏洞:聊天记录可被窃取
云智慧:用大数据实现企业应用性能管理
微软为避免代理权争夺 与大股东达成和解协议
英特尔技术高管离任 电视业务或受影响
联通丹东公司一高管造假套出手机变卖被判刑7年
iOS7拖累iPad 5、iPad mini2发布 传十月份推出
美图手机2问世 三大问题令其市场销量堪忧
马云自称在美国曾被绑票
固话上网卡或将实名制 运营商泄露用户信息将被罚
苹果CEO抱歉解读:是战略而非“屈服”
联想国庆完成收购IBM x86服务器
王建宙解构OTT效劳 中移动重塑飞信平台
百度对糯米来说到底意味着什么?
全球五大电信设备商业绩:华为净利居首
同程旅游融资后变土豪 如何烧钱占领市场?
陈天桥之鉴:产品创新被扼杀那些事
看蜗牛如何放水养鱼,盘活生态系统