Tx for thinking along / posting the code ;)
I think i am almost there, but the menu doesn't stop when you quickly
hover it continues to drop down and up.
I tested with
$("#nav-container").hover(function() {
$("#dropmenu").stop().slideToggle("fast");
}, function() {
$("#dropmenu").slideToggle("fast");
});
and
$("#nav-container").hover(function() {
$("#dropmenu").stop().slideToggle("fast");
}, function() {
$("#dropmenu").stop().slideToggle("fast");
});
But that also gives a strange effect, the dropmenu doesn't show up at
all when you quickly hover.
Any suggestions?
No comments:
Post a Comment