- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Mobile menu dropdown problems
Feb 26, 2019 3:39 PM
My website is https://www.marcomm.io/
On mobile devices, when the menu is expanded, the menu plus sign toggles the dropdown and I can click and open the pages.
If I tap the menu item and not the plus sign, the dropdown toggles but I can't click the links anymore.
Can you tell me what I am doing wrong?
This is the code I have:
$('.mainmenu span.child-triggerm').click(function() {
$(this).parent().siblings('.hs-item-has-children').find('span.child-triggerm').removeClass('child-open');
$(this).parent().siblings('.hs-item-has-children').find('.hs-menu-children-wrapper').slideUp(250);
$(this).next('.hs-menu-children-wrapper').slideToggle(250);
$(this).next('.hs-menu-children-wrapper').children('.hs-item-has-children').find('.hs-menu-children-wrapper').slideUp(250);
$(this).next('.hs-menu-children-wrapper').children('.hs-item-has-children').find('span.child-triggerm').removeClass('child-open');
$(this).toggleClass('child-open');
return false;
});
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content