Here is the example I am working on:
On the right-top corner you can see the Audio Icon. That should simply move the div "audioplayer" in on hover. And of course it should disappear on mouseout...
What is happening is a strange effect, that it sometimes "shakes", moves quickly in and out, even when i dont move the mouse... whats wrong?
jQuery(document).ready(function($) {
$('#audioplayer').mouseenter(function(){
$('#audioplayer').animate({right: '-20px'}, 200),
$('#audioplayer').mouseleave(function(){
$('#audioplayer').animate({right: '-360px'}, 200);
});
});
});