I can not make Animate.css wobble work as soon as my webpage loads, as I'm trying to make a mouseover / mouseout effect and it's not working. The object starts with the wobble fired, while doing the mouseover, this stops the wobble animate. When I mouseout, the same class (wobble) should restart, but I can not do it. Where am I going wrong?
<div class="cabeceira">
<img src="logo.jpg">
</div>
<script type="text/javascript">
$(document).ready(function(){
$("menu").on('mouseover', function(){
$(this).removeClass('animated wobble');
});
$("menu").on('mouseout', function(){
$(this).addClass('animated wobble');
});
});
</script>