I'd like to extend the functionality of Dropdown.prototype and extend
the clearMenu function but I'm not sure how I'd go about this. Such a
topic is beyond my JS skill level.

Essentially the problem is this; I needed to use submenus, something
which Bootstrap does not support so I've reproduced the functionality
and mixed in the two between my own and Bootstrap's dropdowns.

http://reborn.neoseeker.com/wiki/Tsunayoshi_Sawada

In the nav bar you can see "Main" is using Bootstrap but "Characters"
is not. If you click on the "Characters" link and then the "Main"
link, Characters is still open. I'd like to extend / hook into
Bootstrap so that the Characters menu can close.

I could modify bootstrap-dropdown.js and add to the clearMenu function
"$('#custom_nav ul li').children('ul').hide();" but that's not
practical when doing pulls from GitHub.

Reply via email to