$("#browsable .items:not(img.active)").hover(
function() { $(this).attr("src", $(this).attr("src").match(/[^\.]+/) + "_hover.png"); },
function() { $(this).attr("src", $(this).attr("src").replace("_hover", "")); }
...
JavaScript jQuery ugly rollover code
by https://www.google.com/accounts/o8/id?id=AItOawmRvMhcLFwL72d7b-9gx7YpThiobwkY3Co,
September 24, 2010 15:24,
1 refactoring, tagged with hover click jquery binding
I have this jQuery code I w...