Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: Keeping the menu opened?

Home Forums Older releases 1.0.x Keeping the menu opened? Reply To: Keeping the menu opened?


You could use the markCurrentItem: true option and also some additional JS like this:

$(window).load(function() {
	var $menu = $('#main-menu'),
		obj = $'smartmenus');
	// show current sub menu if menu is collapsible
	if (obj.isCollapsible()) {
		$menu.smartmenus('itemActivate', $menu.find('a.current').eq(-1));