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!