Here’s some messy javascript:
$('.menu').mouseover(function () {
$(this).animate({
}, 500, function() {});
}).mouseout(function () {
$(this).animate({
}, 500, function() {});
});
How can I make this smaller, not minify, but isn’t there a way to say like "toggle" instead of "mouseover" then "mouseout"?
thx
You’re looking for
hover()