Skip to content

Commit

Permalink
Hack around CSS conflict to get the #&¤/& thing to sort of fade
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Oct 3, 2008
1 parent 841e3a8 commit d638080
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions public/javascripts/jquery.imghover-1.1rc.js
Expand Up @@ -94,9 +94,11 @@ function fadeOut(node, hover, fadeSpeed){
);
}
}else{
node.hover(
function(){node.attr('src', hoverImg)},
function(){node.attr('src', orgImg)}
node.dblclick(
function(){
node.attr('src', hoverImg);
node.animate({opacity: 0.0 }, opt.fadeSpeed);
}
);
}
});
Expand Down

0 comments on commit d638080

Please sign in to comment.