Menu

[r10367]: / branches / 0.7exp / www / gui.js  Maximize  Restore  History

Download this file

23 lines (21 with data), 513 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
function showElementById(id, state) {
var element = document.getElementById(id);
switch (state) {
case "show":
element.style.display = "";
break;
case "hide":
element.style.display = "none";
}
}
function showhideMenu(tspan, tri) {
var tspanel = document.getElementById(tspan);
var triel = document.getElementById(tri);
if (tspanel.style.display == "none") {
tspanel.style.display = "";
triel.src = "/tri_o.gif";
} else {
tspanel.style.display = "none";
triel.src = "/tri_c.gif";
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.