FlashLike Button With jQuery
Posted
by jasmine
on Stack Overflow
See other posts from Stack Overflow
or by jasmine
Published on 2010-04-29T05:10:23Z
Indexed on
2010/04/29
5:17 UTC
Read the original article
Hit count: 209
jQuery
I have made a flashLike button with jquery via this code:
$(document).ready(function() {
$('#navigation li a').append('<span class="hover"></span>').each(function () {
var $span = $('span.hover', this).css('opacity', 0);
$(this).hover(function () {
$span.stop().fadeTo(500, 1);
}, function () {
$span.stop().fadeTo(500, 0);
});
});
});
But can we add sound to button in hover like flash buttons? Thanks in advance
© Stack Overflow or respective owner