JAVA各种游戏大综合!各种特效
源代码在线查看: 复件 js.js
软件大小: |
1937 K |
上传用户: |
dhgagfdagfdsdgf |
|
|
关键词: |
|
下载地址: |
免注册下载 普通下载
|
|
function list(url,target,txt)
{document.write(""+txt+"")}
function t(txt)
{document.write(""+txt+"")}
var w=200;
function closenavi() {
w-=10;
if (w>-10) {window.parent.testframeset.cols = ''+w+',*';repeat=setTimeout("closenavi()",10);}
else {clearTimeout(repeat);w=200;}
}
function initIt(){
divCount = document.all.tags("DIV");
for (i=0; i obj = divCount(i);
if (obj.className == "child" || obj.className == "child1") obj.style.display = "none";
}
}
function expandIt(el) {
obj = eval("page" + el);
obj2 = eval("main" + el);
if (obj.style.display == "none") {
obj.style.display = "block";
obj2.all.tags('img')[0].src='images/icon-folder1-open.gif';
obj2.all.tags('img')[1].src='images/icon-folder-open.gif';
}
else {
obj.style.display = "none";
obj2.all.tags('img')[0].src='images/icon-folder1-close.gif';
obj2.all.tags('img')[1].src='images/icon-folder-close.gif';
}
}
onload = initIt;
var judge=0;
function expandall(o) {
if (judge==0) {divCount2 = document.all.tags("DIV");
for (i=0; i obj2 = divCount2(i);
if (obj2.className == "child" || obj.className == "child1" || obj2.style.display == "none")
{obj2.style.display = "block";}
if (obj2.className == "menu")
{obj2.all.tags('img')[0].src='images/icon-folder1-open.gif';
obj2.all.tags('img')[1].src='images/icon-folder-open.gif';
}
}
judge=1;
o.src='images/icon-closeall.gif';
o.alt='全部折叠';
}
else {divCount2 = document.all.tags("DIV");
for (i=0; i obj2 = divCount2(i);
if (obj2.className == "child" || obj.className == "child1" || obj2.style.display == "block")
{obj2.style.display = "none";}
if (obj2.className == "menu")
{obj2.all.tags('img')[0].src='images/icon-folder1-close.gif';
obj2.all.tags('img')[1].src='images/icon-folder-close.gif';
}
}
judge=0;
o.src='images/icon-expandall.gif';
o.alt='全部展开';
}
}