<a onclick="javascript:show('LP');hide('SH');hide('SD');hide('HD'); return false;" href="#" class="active"><?php echo HOME;?></a>
now it works in IE FF and Opera. Thanx again.
the second time it works the way it should, it shows show and hides hide on one click, don't understand why it doesn't on the first onclick after opening the page.
I have this menu wich needs onclick open one sub menu and close all others, it works perfectly after you onclick once. but I want it to work right away, any ideas, relevant code below:
<script type="text/javascript">
function show(a) {
var div = document.getElementById(a).style;
if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.