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.

Bootstrap hides submenu toggle (mobile)

Home Forums Older releases 1.0.x + Bootstrap addon Bootstrap hides submenu toggle (mobile)

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3467
    stef4n
    Participant

    Hi there,

    i would try to implement following code to show active sub menu. Works standalone, but when i integrate in bootstrap (v3.3.7) collapse menu, the submenu is still closed when try open on mobile device. Any idea to fix this? Tried out several js but noting worked (on click ..) Thx & greets stefan

    (solution will be payed)

    Code to activate SUB
    ´ $(function() {
    markCurrentItem: true
    $(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));
    }
    });
    });

Viewing 1 post (of 1 total)
  • The forum ‘1.0.x + Bootstrap addon’ is closed to new topics and replies.