closeonclick works for me as the same way you explained. But that is only applicable to menus with a submenu. What I wanted is something similar for the menus without any submenu.
Right now, I am achieving that by calling following function on click on a submenu:
menuDisplay(getMenuByName("menu1 ...
Search found 2 matches
- Wed Mar 24, 2004 12:28 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Closing submenus after one of them is clicked.
- Replies: 6
- Views: 5907
- Thu Mar 18, 2004 7:37 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Closing submenus after one of them is clicked.
- Replies: 6
- Views: 5907
Closing submenus after one of them is clicked.
Hi,
I have a menuitem (submenu) which just calls a function. I want to close/collapse/hide that when the menuitem is clicked. But it should be available again when users do a mouseover on the parent menu.
Please see the following sample code from my menu_data.js:
with(XPMenuStyle=new mm_style ...
I have a menuitem (submenu) which just calls a function. I want to close/collapse/hide that when the menuitem is clicked. But it should be available again when users do a mouseover on the parent menu.
Please see the following sample code from my menu_data.js:
with(XPMenuStyle=new mm_style ...