Skip to content

Instantly share code, notes, and snippets.

@dgomesbr
Created August 11, 2011 20:34
Show Gist options
  • Save dgomesbr/1140687 to your computer and use it in GitHub Desktop.
Save dgomesbr/1140687 to your computer and use it in GitHub Desktop.
Zebra Stripe tables :)
$(document).ready(function(){
$(".stripeMe tr").on{
mouseover: function()
{
$(this).addClass("over");
}
mouseleave: function()
{
$(this).removeClass("over");
}
}
$(".stripeMe tr:even").addClass("alt");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment