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.

control caret drawn

Home Forums Older releases 0.9.x control caret drawn

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1382
    marcusone
    Participant

    I have a bootstrap 3 site that i’m tyring this script with. using the demo I’ve loaded and have multi-level working well! Thanks!
    However,
    I think the script should detect if the is already in a menu item or not (so you don’t get double carets).
    Also, is there a way to just turn off the auto adding of the caret symbol?

    Thanks again.

    #1785
    admin
    Keymaster

    Hi,

    You can control the SmartMenus added carets via the subIndicators: true/false option. In order to change this, you will need to edit the “jquery.smartmenus.bootstrap.js” file and add the option here:

    		$this.addClass('sm').smartmenus({
    
    						subIndicators: false,
    
    						// these are some good default options that should work for all
    						// you can, of course, tweak these as you like
    						subMenusSubOffsetX: 2,
    						subMenusSubOffsetY: -6,
    						subIndicatorsPos: 'append',
    						subIndicatorsText: '...',
    						collapsibleShowFunction: null,
    						collapsibleHideFunction: null,
    						rightToLeftSubMenus: $this.hasClass('navbar-right'),
    						bottomToTopSubMenus: $this.closest('.navbar').hasClass('navbar-fixed-bottom')
    		})

    BTW, thanks for sharing your suggestion! I will consider it for the future.

    Cheers!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.