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)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?