Hi!
can you help me?
How to do that would be after clicking Sub-menu hidden? Without refresh page.
How to hide the sub menu after clicking?
Re: How to hide the sub menu after clicking?
Can you give more details, what exactly are you trying to do? Normally clicking menu item opens the link that is assigned to this item. Making menu item that doesn't open any link but just hides the menu kind of defeats the purpose of the menu and will confuse the site visitors.
Blumentals Software Programmer
Re: How to hide the sub menu after clicking?
for an example please see the website:
http://pc-net.ru/new/
open menu after clicking tempered by opening the web-site content
Russian lang only, sorry.
tnx
http://pc-net.ru/new/
open menu after clicking tempered by opening the web-site content
Russian lang only, sorry.
tnx
Re: How to hide the sub menu after clicking?
Ok, I see, you're using Javascript. There's no single function in EBMM js file for hiding the open menus but I'll try to add one in the next update, probably next week.
Blumentals Software Programmer
Re: How to hide the sub menu after clicking?
thanks, I will wait for the update
Re: How to hide the sub menu after clicking?
You can define and use this function:
It will be built in the next version but you can copy/paste it to your JavaScript file if you don't want to wait.
Code: Select all
function ebmHideSubmenus() {
if (cbnOpenTopMenu)
ebmRemoveSubmenu(cbnOpenTopMenu.id);
}
Blumentals Software Programmer
Re: How to hide the sub menu after clicking?
Ok,
Tnx.
It well works!
Tnx.
It well works!