Friday, November 18, 2011

On Hover add and Remove a class

[javascript]
$('.onhover').hover(
function(){ $(this).addClass('hover_style_class') },
function(){ $(this).removeClass('hover_style_class') }
)
[/javascript]

0 comments:

Post a Comment