You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
424 B
15 lines
424 B
function showChildren(elem) {
|
|
for(var i=0; i<elem.childNodes.length; i++) {
|
|
if(elem.childNodes[i].nodeName == "DIV") {
|
|
elem.childNodes[i].style.display="block";
|
|
}
|
|
}
|
|
}
|
|
|
|
function hideChildren(elem) {
|
|
for(var i=0; i<elem.childNodes.length; i++) {
|
|
if(elem.childNodes[i].nodeName == "DIV" && elem.childNodes[i].getAttribute("default") != "default") {
|
|
elem.childNodes[i].style.display="none";
|
|
}
|
|
}
|
|
} |