Superfish - onHide problem

Superfish - onHide problem

Hey all,

I'm working on a menu using superfish. I have a function I want to call onHide, but it seems that the onHide function is called onInit, onShow AND onHide.

The alert is fired multiple times.

Here is a simple example:

  1. jQuery(function(){
                jQuery('ul.sf-menu').superfish({onHide: function(){ alert("hi");}});
            });



Thanks for any help.