Reply To: TO SEE SUB-MENU When mouse click

Home Forums Older releases 0.9.x TO SEE SUB-MENU When mouse click Reply To: TO SEE SUB-MENU When mouse click

#3253
admin
Keymaster

If you are using the Bootstrap addon, you don’t need to initialize your menu like this:

$(function() {
  $('#main-menu').smartmenus({
  noMouseOver:true,
  subIndicatorsText: " <i class='fa fa-caret-down' aria-hidden='true'></i>",
  subIndicatorsPos: "append",
});

Just add any custom options in “jquery.smartmenus.bootstrap.js” after this line:

					$this.smartmenus({

e.g. like this:

					$this.smartmenus({
						noMouseOver: true,
						...

The next version will allow setting any options via a new attribute “data-sm-options” but for now editing the “jquery.smartmenus.bootstrap.js” file is required.

Register

You will be emailed a link to set your password.

Login

Lost password?