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

Register

You will be emailed a link to set your password.

Login

Lost password?