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));
}
});
});