The tablesorter actually has a built-in "widget" that does the zebra
striping that you describe.  You might want to look at tablesorter.com
for info on that widget.

On Dec 12, 3:32 pm, [EMAIL PROTECTED] wrote:
> Something like this should do the trick:
>
> $(".tablesorter tr").mouseover(function() {$
> (this).addClass("over");}).mouseout(function() {$
> (this).removeClass("over");});
>
> css:
> table.tablesorter tr.over td {
>         background:#BCD4EC none repeat scroll 0% !important;
>
> }
>
> On 12 déc, 21:17, Arturo <[EMAIL PROTECTED]> wrote:
>
> > I use a code to bgcolor odd table rows in my tables. Something like:
>
> > <code>
> > $('table').find('tr:odd').css({backgroundColor: '#fffbdd'});
> > </code>
>
> > And I'd like to keep the zebra-colouring after a table sorting with
> > tablesorter().
> > But I've looked at the docuentation on the plugin and it doesn't seem
> > to provide a way to attach a function to the end of the
> > tablesorting...
>
> > Could this feature be added?  Can this be done by any other means?
>
> > Thanks a lot (for the great plugin and the eventual responses)!!

Reply via email to