jQuery link nudge and color transform
- by DaveKingsnorth
Hey everyone, I have achieved the effect described in the title using the following code:
$(document).ready(function(){
$('.button').mousedown(function() {
$(this).animate({ 'top': '3px' }, 70);
});
$('.button').mouseup(function() {
$(this).animate({ 'top': '0px' }, 70);
});
$('.button').hover(function() {
$(this).stop().animate({
…