当前位置: 技术问答>java相关
高分相送(2500),专家论坛左边的树是怎么弄的?你看看你自己想要多少,
来源: 互联网 发布时间:2015-01-03
本文导语: | 不是高手,试试可以吧 =8-) 那个是javascript做的 NS4 = (document.layers) ? 1 : 0; IE4 = (document.all) ? 1 : 0; ver4 = (NS4 || IE4) ? 1 : 0; if (ver4) { with (document) { write(""); ...
|
不是高手,试试可以吧 =8-)
那个是javascript做的
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;
if (ver4) {
with (document) {
write("");
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("");
}
}
function getIndex(el) {
ind = null;
for (i=0; i
那个是javascript做的
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;
if (ver4) {
with (document) {
write("");
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("");
}
}
function getIndex(el) {
ind = null;
for (i=0; i