/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> $(document).ready(function() { var hide = false; jQuery("img.shadow").hover(function(){ if (hide) clearTimeout(hide); jQuery(".post_share").fadeIn(); }, function() { hide = setTimeout(function() {jQuery(".post_share").fadeOut("slow");}, 250); }); jQuery(".post_share").hover(function(){ if (hide) clearTimeout(hide); }, function() { hide = setTimeout(function() {jQuery("post_share").fadeOut("slow");}, 250); }); }); </script>
Comments
