Hello.

Just started using the Superfish plugin - wonderful job.

I'm trying to use the "onHide" event but have noticed that the event
is fired more frequently than necessary:

        $("ul.sf-menu").supersubs({
                    minWidth:    12,   // minimum width of sub-menus
in em units
                    maxWidth:    55,   // maximum width of sub-menus
in em units
                    extraWidth:  1     // extra width can ensure lines
dont sometimes turn over
                                       // due to slight rounding
differences and font-family
                }).superfish({
                    onHide: function(){alert("hide")}
                }).find("ul").bgIframe({opacity:false});  // call
supersubs first, then superfish, so that subs are
                                 // not display:none when measuring.
Call before initialising
                                 // containing tabs for same
reason.

The event appears to fire when the page is initialised, before the
menu is displayed, when the menu is clicked, and when the menu is
hidden.

Is this expected behaviour?

Reply via email to