Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$("#demo2").navgoco({accordion: true});
$("#demo2").find("li:not(:has(ul)) > a").click(function(e) {
$(this).parent().parents('ul').each(function() {
idx = $(this).attr('data-index');
if (!idx) {
return false;
$("#demo2").navgoco('toggle', true, idx);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.