$("#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...

1772298f2d14152c13bbd3221e6ab6ec Talk