网页js树形菜单.txt鲜花往往不属于赏花的人,而属于牛粪。。。道德常常能弥补智慧的缺
陷,然而智慧却永远填补不了道德空白人生有三样东西无法掩盖:咳嗽贫穷和爱,越隐瞒,
就越欲盖弥彰。脚本说明:
第一步:把如下代码加入<head>区域中
<script language="JavaScript1.2">
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>
第二步:把如下代码加入<body>区域中
<div id='KB1Parent' class='parent'><a href="#" onClick="expandIt('KB1'); return false">
<IMG SRC='plus.gif' BORDER=0>时间日期类</a></div><div id='KB1Child' class='parent'>
<a href='time1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>任意位置显示时钟</a><br>
<a href='time2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>倒计时代码生成器</a><br>
<a href='time3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>八种风格时间显示</a><br>
<a href='time4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>显示登陆时间</a><br>
<a href='time5.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>日历生成器</a><br>
<a href='time6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>退出显示访问时间</a><br>
<a href='time7.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>一款特酷的时钟</a><br>
<a href='time8.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>全中文日期显示</a></div>
<div id='KB2Parent' class='parent'><a href="#" onClick="expandIt('KB2'); return false">
<IMG SRC='plus.gif' BORDER=0>页面导航类</a></div><div id='KB2Child' class='child'> <a href='dao1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>显示站点信息导航</a><br>
<a href='dao2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>示导航信息</a><br>
<a href='dao3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>动态导航脚本</a><br>
<a href='dao4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>下拉式导航菜单</a><br>
<a href='dao5.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>静止导航菜单</a><br>
<a href='dao6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>静止图片脚本</a><br>
<a href='dao7.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>文本静止不动</a><br>
<a href='dao8.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>信息框显示链接</a><br>
<a href='dao9.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>友情链接导航框</a><br>
<a href='dao10.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>目录式导航菜单</a><br>
<a href='dao11.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>重要信息说明脚本</a>
</div>
<div id='KB3Parent' class='parent'><a href="#" onClick="expandIt('KB3'); return false">
<IMG SRC='plus.gif' BORDER=0>页面背景类</a></div><div id='KB3Child' class='child'> <a href='back1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>背景向下移动</a><br>
<a href='back2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>背景不停变换彩</a><br>
<a href='back3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>使页面产生百叶窗</a><br>
<a href='back4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>颜代码英文集</a><br>
<a href='back5.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>自已选择背景颜</a><br>
<a href='back6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>背景颜安全测试</a><br>
<a href='back7.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>颜选择器</a><br>
<a href='back8.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>背景图片居中</a><br>
<a href='back9.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>页面转换特效</a></div>
<div id='KB4Parent' class='parent'><a href="#" onClick="expandIt('KB4'); return false">
<IMG SRC='plus.gif' BORDER=0>页面特效类</a></div><div id='KB4Child' class='child'> <a href='ye1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>字符从空中掉下来</a><br>
<a href='ye2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>打字机式输出文字</a><br>
<a href='ye4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>滚动显示的LOGO</a><br>
<a href='ye6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>文本自动滚屏</a><br>
<a href='ye7.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>控制别人输入字数</a><br>
<a href='ye10.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>文本上下弹跳</a><br>
<a href='ye11.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>特酷消隐字体</a><br>
<a href='ye12.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>文本框栏目介绍</a><br>
<a href='ye13.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>旋转变换文字
<a href='ye14.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>特酷的文本输出</a><br>
<a href='ye18.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>页面自动滚屏效果</a><br>
<a href='ye16.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>炽热的文字特效</a><br>
<a href='ye17.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>鼠标响应文字变</a>
</div>
<div id='KB5Parent' class='parent'><a href="#" onClick="expandIt('KB5'); return false">
<IMG SRC='plus.gif' BORDER=0>图形图象类</a></div><div id='KB5Child' class='child'> <a href='picture1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>禁止图片下载</a><br>
<a href='picture2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图片隐现效果</a><br>
<a href='picture3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>随机显示图片</a><br>
<a href='picture4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图片变形扭曲</a><br>
<a href='picture5.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>雪景</a><br>
<a href='picture7.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图片渐渐出现</a><br>
<a href='picture8.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>相片选择器</a><br>
<a href='picture9.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图形循环渐显</a><br>
<a href='picture10.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图形左右晃动</a><br>
<a href='picture11.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图形选择脚本</a><br>
<a href='picture12.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图片翻滚导航</a><br>
<a href='picture13.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图片翻滚导航</a>
</div>
<div id='KB6Parent' class='parent'><a href="#" onClick="expandIt('KB6'); return false">
<IMG SRC='plus.gif' BORDER=0>按钮特效类</a></div><div id='KB6Child' class='child'> <a href='an2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>跑马灯式链接说明</a><br>
<a href='an3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>窗口打开关闭
<a href='an4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>浮动的链接说明</a><br>
<a href='an5.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>链接处变换彩</a><br>
<a href='an6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>变换链接和底</a><br>
<a href='an7.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>按顺序点击链接</a></div>
<div id='KB7Parent' class='parent'><a href="#" onClick="expandIt('KB7'); return false">
<IMG SRC='plus.gif' BORDER=0>鼠标事件类</a></div><div id='KB7Child' class='child'> <a href='shu1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>图片跟随鼠标</a><br>
<a href='shu2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>鼠标响应新页面</a><br>
<a href='shu3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>禁用鼠标左右键</a><br>
<a href='shu4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>鼠标控制窗口开关</a><br>
<a href='picture6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>鼠标点击效果</a><br>
<a href='shu5.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>禁用右键自动导航</a><br>
<a href='shu6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>鼠标激活警告框</a>注册页面js特效
</div>
<div id='KB8Parent' class='parent'><a href="#" onClick="expandIt('KB8'); return false">
<IMG SRC='plus.gif' BORDER=0>Cookie脚本</a></div><div id='KB8Child' class='child'>
<a href='cook1.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>随登陆次数变提示</a><br>
<a href='cook2.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>集成Cookies</a><br>
<a href='cook3.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>使窗口仅弹出一次</a><br>
<a href='cook4.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>签名提示程序</a><br>
<a href='cook5.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>记录上次登录时间</a><br>
<a href='cook6.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>自由控制打开窗口</a><br>
<a href='cook7.htm' target='_target'> <IMG SRC='blank.gif' BORDER=0>记录页面修改

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。