Hey there! I'm looking to create a menu that is similar to what you can find on this website:
I've been thinking about using animate.css with the slideInDown animation to make the bookmark show up when hovering over a link. However, I'm not sure how to make it disappear when the mouse moves away.
This is the code I have for initiating animation on hover:
function animationHover(element, animation){
element = $(element);
element.hover(
function() {
element.addClass('animated ' + animation);
},
function(){
//wait for animation to finish before removing classes
window.setTimeout( function(){
element.removeClass('animated ' + animation);
}, 2000);
});
}