Menu
Looked around but all I could find was the same as what I use,
showing and hiding divs onclick. Anyone know how to modify this
code to hide the rest of the DIVs?
[code=php]
echo “n”.'<script type=”text/javascript”>’;
echo ‘function toggle_visibility(foo) {
for(var i = 0, len = arguments.length; i < len; i++)
var e = document.getElementById(arguments[i]).style,d = e.display;
e.display = (d == “block”) ? “none” : “block”; }’;
echo “n”.'</script>’;