爱易网
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 浏览次数:20476 次
以下是程序代码
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="keywords" content="站长,网页特效,js特效,广告代码,zzjs,zzjs.net,sky,www.zzjs.net,站长特效 网" /> <meta name="description" content="www.zzjs.net,站长特效网,站长必备js特效及广告代码。大量高质量js特效,提供高质量广告代码下载,尽在站长特效网" /> <title>竖型导航菜单,sky整理收集。</title> <style type="text/css"> <!-- .headtd1 { background: #00A4E1; border: 2px outset; border-color: #00BBFF #0077FF #0077FF #00BBFF; cursor: hand; font-size: 9pt} .headtd2 { background: #20C1FF; border: 2px outset; border-color: #60D3FF #0077FF #0077FF #60D3FF; cursor: hand; font-size: 9pt} .bodytd { background: #99CCFF; border: 2px outset; border-color: #B0D8FF #0077FF #0077FF #B0D8FF; font-size: 9pt} --> </style> <script language="JavaScript"> scores = new Array(20); var numTotal=0;NS4 = (document.layers) ? 1 : 0;IE4 = (document.all) ? 1 : 0;ver4 = (NS4 || IE4) ? 1 : 0; if (ver4) { with (document) { write("<STYLE TYPE='text/css'>"); if (NS4) { write(".parent {position:absolute; visibility:visible}"); write(".child {position:absolute; visibility:visible}"); write(".regular {position:absolute; visibility:visible}") } else { write(".child {display:none}") } write("</STYLE>"); }}function getIndex(el) { ind = null; for (i=0; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.id == el) { ind = i; break; } } return ind;}function arrange() { nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height; for (i=firstInd+1; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.visibility != "hide") { whichEl.pageY = nextY; nextY += whichEl.document.height; } }}function initIt(){ if (!ver4) return; if (NS4) { for (i=0; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide"; } arrange(); } else { divColl = document.all.tags("DIV"); for (i=0; i<divColl.length; i++) { whichEl = divColl(i); if (whichEl.className == "child") whichEl.style.display = "none"; } }}function expandIt(el) { if (!ver4) return; if (IE4) { whichEl1 = eval(el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval(scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.style.display = "none"; } } whichEl1 = eval(el + "Child"); if (whichEl1.style.display == "none") { whichEl1.style.display = "block"; } else { whichEl1.style.display = "none"; } } else { whichEl = eval("document." + el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval("document." + scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.visibility = "hide"; } } if (whichEl.visibility == "hide") { whichEl.visibility = "show"; } else { whichEl.visibility = "hide"; } arrange(); }}onload = initIt; </script> <script language="JavaScript"> <!-- //该函数在调用过程中只需要在将要点击的单元格内的onclick事件中调用showme函数即可 //function showme(obj1, obj2)该函数主要为使点击的对象高亮度显示,并调用moveme函数,参数obj1为母体即<div>标签的id,obj2为点击对象本身 //function moveme(obj)该函数判断单元的移动,并调用相应的函数处理,obj参数为母体 //function moveup(obj,objtop)该函数使一个单元向上移动,参数obj为母体,objtop为母体的本身最高高度 //function movedown(obj,objbuttom)该函数使一个单元向下移动,参数obj为母体,objbuttom为母体的本身最低高度 var headHeight = 22;//每个标题的高度 var bodyHeight = 160
上一篇:狡猾的按钮特效
下一篇:导航菜单闪烁效果
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
苹果售后生态链乱象:供需失衡价钱不一
苹果已经允许开发者提交64位应用程序
清点:罗永浩推锤子ROM 小米打法遭模拟
微软张亚勤趋势判断:未来三十年属于物理化互联网
华为美国推出电商网站 发售Mate 2LTE版
诺基亚若没加入微软,只不过是另一个HTC而已
打车软件竞争白热化:有冷兵器时代意味
阿里物流搭上邮政:京东,我们在终点等你!
唯品会荣登“最贵中概股”的欢喜与哀愁
推荐阅读
更多>
世界杯让耐克阿迪大打出手 谁能劈开用户大脑?
支付宝被曝严重破绽 隐私平安再受质疑
谷歌安卓全球副总裁为何跳槽中国企业小米?
分析称iPhone 6明年初发布 屏幕变为4.8吋
微博启动自媒体计划 粉丝+收入双激励是亮点
墨迹天气:产品创新以攻为守方能对抗巨头
诺基亚培育低端机市场 迂回战术要挟中华酷联
微软提示XP只剩365天寿命:用户被绑架?
百度对糯米来说到底意味着什么?
全球最具“颠覆性”特质的公司排行榜TOP25
诺基亚称不会更名“微软移动” 5月还将发布新品
组建铁塔公司倒逼运营商改革 或加速4G网建设
逆转猜想:如果阿里成为雅虎大股东会怎样?
第二梯队也PK:当1号店“遇上”京东手机节
中国邮政与阿里合作:邮政网点可做网购自提点
联通丹东公司一高管造假套出手机变卖被判刑7年
京东微信入口战略能否助力618大促创流量巅峰
支付宝27日晚间曝严重破绽:买卖记载可被搜索
三星石墨烯制备技术获突破
中移动财报外的"五座大山":运营商沦为走秀陪衬