On Apr 2, 1:42 pm, Wokkel <moep...@gmail.com> wrote:
> Hi there,
>
> Is it possible with superfish to instead of a mouseover to expand on
> the top level menu to do this with a click?
>
> Greets,

I found a patch that does this on http://plugins.jquery.com/node/3967

However it had one bug, when you click on a top menu it appears but
when you click again, it doesnt collapse and also it activated the
link itself.

I solved it by adding this code to the CLICK function

                                if (menuActive == true) {
                                        $$.hideSuperfishUl();
                                        return false;
                                }


Reply via email to