Skip to Content
Home › Forums › Older releases › 0.9.x › display menu associated with current page
I have vertical menus where the submenus expands in-line. When I click on a submenu and go to the page I would like for the submenu associated with the current page to automatically expand and be highlighted.
Please check this topic and let me know if you still have any questions:
Thanks for getting back to me. I tried this and can’t seem to get it to work. I’m sure the fix is simple. The URL is http://www.doubleknot.com.
Make sure this line:
$("#dk-main-menu").smartmenus("itemActivate", $("#dk-main-menu").find("a.current").eq( - 1));
is called on document ready – e.g. put it right after this:
and it should work.
Very much appreciated. Works great
You will be emailed a link to set your password.
Username or Email Address
You will receive emails only on new version releases or really important news. Your email will not be shared with anyone. We hate spam too!