This looks really bloated, can it be rewritten any better/more compact:
$("#cart-summary").hover(
function () {
$('.flycart').slideDown('fast');
}
);
$(".flycart").hover(
function () {}, // mousein function not required
function () { // hide menu on mouseout
$('.flycart').slideUp('fast');
}
);
$('.flycart a.close').click(function(){
$(this).parents('.flycart').hide();
});
Thanks!