Hi all,
I have a simple (beginner) question.
I use this:
$("#menu div").hoverIntent(function(){
$(this).nextAll().each(fade).end().prevAll().each(fade);
},function(){
$(this).siblings()
.stop(true,true)
.fadeIn(600, 'linear');
});
on my page and somewhere else I’d like to turn off the behavior (for all divs in #menu).
I tried:
$("#menu div").unbind()
$("#menu div").unbind('hoverIntent')
$("#menu div").off()
$("#menu div").off('hoverIntent')
By the way I definitely would like to preserve the hover instead of splitting up in mouseenter and mouseleave
and I read that with off() its possible to do so.
But neither I succeeded in doing the right syntax for on('hoverIntent').
Nothing works.
How is it to be done?
Thanks for your patience and kind help
Garavani