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. }); });
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
Post a Comment