/ Published in: JavaScript
A nice function to hide/display menu items in navigation.
Expand |
Embed | Plain Text
<SCRIPT LANGUAGE="JavaScript"> function toggleMod(which) { var module = 'mod_' + which; if (document.getElementById(module).style.display == 'none') { document.getElementById(module).style.display = 'block' } else { document.getElementById(module).style.display = 'none' } </SCRIPT> <a href="javascript:toggleMod('menu_headline');">menu_headline</a>
You need to login to post a comment.
