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.

Default for hideFunction

Home Forums Older releases 1.0.x Default for hideFunction

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2990
    wilkod
    Participant

    In the documentation, the following is stated for hideFunction:

    hideFunction
    Type: null, Function
    Custom function to use when hiding a sub menu (the default is the jQuery ‘hide’).

    In actual fact, hide is not the default setting for hideFunction. The default is actually a 200 millisecond fade-out (see line 1192 of jquery.smartmenus.js). This suggests either that the documentation is incorrect or that the default setting is not what was intended.

    #2992
    admin
    Keymaster

    Actually, what is meant is that if you use hideFunction: null then the jQuery hide function will be used with hideDuration as the duration parameter. So, I guess you’re right and it’s not well explained in the docs as it doesn’t make it very clear. We’ll consider updating the docs, thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘1.0.x’ is closed to new topics and replies.