Default for hideFunction

Home Forums Older releases 1.0.x Default for hideFunction

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

    In the documentation, the following is stated for 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.


    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)
  • You must be logged in to reply to this topic.


You will be emailed a link to set your password.


Lost password?