Re: display menu associated with current page

Home Forums Older releases 0.9.x display menu associated with current page Re: display menu associated with current page

#1775
admin
Keymaster

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:

		$('#dk-main-menu').smartmenus({
			subMenusSubOffsetX: 1,
			subMenusSubOffsetY: -8,
			markCurrentItem: true,
			markCurrentTree: true,
			hideOnClick: false
		});

and it should work.

Cheers!

Register

You will be emailed a link to set your password.

Login

Lost password?