Please help; I am developing a site and I want an image to fadeIn and fadeOut on mouseenter and mouseleave.
http://postimg.org/image/s82v127cp/
Please take a look on the image above. This is the state when mouseenter and it comes with fadeIn effect. So fadeIn works cool, but fadeout has no effect! I am using following code to achieve this:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
$(document).ready(function(){ $("#menu-item-67").mouseenter(function(){ $("#text-11").hide().fadeIn(1000); }); $("#menu-item-67").mouseleave(function(){ $("#text-11").fadeOut(1000); }); });
$("#text-11").show().fadeOut(1000);
– Tushar Gupta - curioustushar