jQuery cycle plugin
(function($){
$.fn.cycle = function() {
$(this).each(function(index) {
var cls = index % 2 ? 'even':'odd';
$(this).attr('class', cls);
});
}
})(jQuery);
(function($){
$.fn.cycle = function() {
$(this).each(function(index) {
var cls = index % 2 ? 'even':'odd';
$(this).attr('class', cls);
});
}
})(jQuery);