I need make a menu with a particular specifications:
Only need main menus, no submenus
When I click in one option, this must appear clicked (color change) until click in another option.
I try keepalive but this property not affect aparently
Any help, example?
Thanks. Excuse my poor english I'm spanish.
One specify question about keepalive
Exactly, not.
You help me good, to realise the sensation of push menu, but when I go outside of the clicked menu, this restore itself to original values. I need mantain the menu clicked until I don't click on another menu.
hey, thats exactly what i want. but if call the function it comes the error "function not found"
i have tried to declare the function:
- i the top where my menu is
- in the top of milonic_src.js file
- in the top of mmenudom.js file
- in a separate file
where do you declare your function "itemClicked" ??
i have tried to declare the function:
- i the top where my menu is
- in the top of milonic_src.js file
- in the top of mmenudom.js file
- in a separate file
where do you declare your function "itemClicked" ??
You should probably declare itemClicked() in the head of your document, before you include any other menu source files. It should find the function with no problems then. For troubleshooting, make itemClicked do nothing but put up an alert() box to let you know its being called correctly. THen start to put in CSS changes.
Regarding how to change the styles of the menu items on the fly, I havent worked much with that (yet) but I know it can be done. Once you get this far, we'll further this thread in that direction to see if we can do that.
Regarding how to change the styles of the menu items on the fly, I havent worked much with that (yet) but I know it can be done. Once you get this far, we'll further this thread in that direction to see if we can do that.
Dave Hergert
Software Engineer
"Helping to make the menu better, one
at a time."
Software Engineer
"Helping to make the menu better, one
