test
On 7 Srp, 09:34, yitzc <[EMAIL PROTECTED]> wrote: > Hi. I am using the Superfish menu, and it fits my needs perfectly. The > problem is that the client I am designing the website for has decided > that he wants the menus to appear only when he clicks on them - and > not when he hovers the mouse over them. > > I was able to get the main menu to work onClick by modifying line 49, > changing: > > $('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? > 'hoverIntent' : 'hover'](over,out).each(function() {...}); > > To: > > $('li:has(ul)',this).click(over).hover(function() > {},out).each(function() { ... }); > > So that I still get the hover out effect when he moves the mouse off > the menu. > The problem is that now all my submenus don't respond - not when I > click on them or when I move the mouse over them. > > Does anyone know why this would be happening, or (even better) have a > working hack/fix to make Superfish work on click only? > > (If the sub-menus activate on hover, that would be a bonus) > > -- Yitzhak