mmenu: How to select correct submenu on page load/refresh -
i have website mmenu. there submenu. entering submenu displays entries. select submenu , content loads in #content. (jquery/ajax browser history api).
but if hit refresh or enter url manually, i'm starting on main menu , need re-enter submenu.
have seen on http://mmenu.frebsite.nl/tutorial/ there way enter submenus automatically on page load.
how work?
there function can call?
the last li tag submenu must have following class:
.mm-selected
should working.
Comments
Post a Comment