javascript - Mmenu Vertical Submenu w/ JQuery toggle -


has been able implement .slidetoggle vertical submenu opposed display:none / display block functionality?

i able intermittently work it's fighting built in functionality, i'm not sure how disable.

i haven't been able find in documentation admittedly amount of scripting little on head.

any guidance appreciated.

$("#dropdown").click(function () { $(".dropdown-mmenu").slidetoggle("slow", function () {     // animation complete. }); }); 

https://jsfiddle.net/ub75faxv/1/

alright - wasn't far off, moment of clarity struck.

comment out: .mm-listview .mm-vertical .mm-panel, .mm-vertical .mm-listview .mm-pane , .mm-vertical li.mm-opened>.mm-panel, li.mm-vertical.mm-opened>.mm-panel , add $(".dropdown-mmenu").hide(); above script set hidden on load.

done.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

Kivy: Swiping (Carousel & ScreenManager) -

jdbc - Not able to establish database connection in eclipse -