Inhalte aufrufen

Profilbild

How to programmatically close mobile menu


Keine Antworten zum Thema vorhanden

#1 nickh

nickh

    Advanced Member

  • Members
  • 91 Beiträge

Geschrieben: 10 June 2018 - 21:45

Hi.

 

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



Auf dieses Thema antworten