/*!
 * 表格隔行变色插件
 * @copyright (c) JSPGen.com
 * @version 1.0
 */
;(function($){$.fn.tablecolor=function(options){var settings={one:"one",two:"two",hover:"hover"};$.extend(settings,options);return $(this).each(function(){if(this.nodeName.toLowerCase()!='table')return;$(this).find('tr:not(.ignore)').each(function(index){var $this=$(this);if(index%2==0){$this.addClass(settings.one);}else{$this.addClass(settings.two);}
$this.hover(function(){$this.addClass(settings.hover)},function(){$this.removeClass(settings.hover)});});});}})(jQuery);