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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -