Reply To: Keeping the menu opened?

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

#3227
admin
Keymaster

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

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

Register

You will be emailed a link to set your password.

Login

Lost password?