You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
350 B
JavaScript
24 lines
350 B
JavaScript
|
|
|
|
function goo(o){
|
|
|
|
return document.getElementById(o);
|
|
}
|
|
|
|
function onClickLi(n, m, p) {
|
|
|
|
for (var i = 0; i < n; i++) {
|
|
goo("sea_tag" + m + i).className = "";
|
|
goo("hiddenblock" + m + i).style.display = "none";
|
|
}
|
|
|
|
goo("sea_tag" + m + p).className = "on";
|
|
|
|
goo("hiddenblock" + m + p).style.display = "block";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|