HollyVally
Programmer
I have the following code:
What I don't have:
the 'showhide' function.
I need the following to acheive:
a. clicking on one 'menu' item should open that menu and at the same time close the other menus
b. if 'menu' is open than clicking on it should close it without siturbing the others.
How can i get this?
I am using the following browsers:
IE4+, NS4/+, IE5+, NS6+, NS7
IE: Internet Explorer
NS: Netscape Navigator
Code:
<div id=menu1 onclick='showhide(list1)'>menu1</div>
<div id=list1 style='display:none'>list1</div>
<div id=menu2 onclick='showhide(list2)'>menu1</div>
<div id=list2 style='display:none'>list1</div>
<div id=menu3 onclick='showhide(list3)'>menu1</div>
<div id=list3 style='display:none'>list1</div>
What I don't have:
the 'showhide' function.
I need the following to acheive:
a. clicking on one 'menu' item should open that menu and at the same time close the other menus
b. if 'menu' is open than clicking on it should close it without siturbing the others.
How can i get this?
I am using the following browsers:
IE4+, NS4/+, IE5+, NS6+, NS7
IE: Internet Explorer
NS: Netscape Navigator