Inhalte aufrufen


How to programmatically close mobile menu

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
Keine Antworten zum Thema vorhanden

#1 nickh


    Advanced Member

  • Members
  • 93 Beiträge

Geschrieben: 10 June 2018 - 21:45



I'd like to add an item to the mobile sliding menu (under the "Service" tab).  The problem is that clicking on the item should open a modal lightbox, which is currently being hidden by the sliding menu, so I'd like to close the entire menu before opening the modal lightbox.  I have seen various functions within smartstore.offcanvas.js, but there doesn't appear to be a function that will completely close the sliding menu and return to the default mobile view (as though the "menu" button had not been clicked).


Is this possible?

  • GalenKa, RidgeOi und Brantot gefällt das