Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: Make submenu slide open/close

Home Forums Older releases 1.0.x + Bootstrap addon Make submenu slide open/close Reply To: Make submenu slide open/close


So I figured out the opening part. In jquery.smartmenus.bootstrap.js, change collapsibleShowFunction: null on line 41 to:

collapsibleShowFunction: function($ul, complete) {
	$ul.slideDown(200, function() {

However, I haven’t quite figured out the closing. I tried doing the same thing with collapsibleHideFunction, but it still seems to jump closed.