Project

General

Profile

1
function toggle() {
2
	var check = document.getElementById("file2");
3
	if (check.style.visibility == "visible") {
4
		for (i=2; i<=10; i++) {
5
			document.getElementById("file" + i).style.visibility = "hidden";
6
		}
7
		document.getElementById("delzip").style.display = "inline";
8
	} else {
9
		for (i=2; i<=10; i++) {
10
			document.getElementById("file" + i).style.visibility = "visible";
11
		}
12
		document.getElementById("delzip").style.display = "none";
13
	}
14
}
(6-6/7)