Just a correction, 'background' IS valid CSS, it allows you to specify
multiple 'background-xyz' properties in a single declaration.
On Dec 9, 4:21 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> ps...
>
> looking at your CSS again, it is indeed not valid, but not because of
> what i first thought,
ps...
looking at your CSS again, it is indeed not valid, but not because of
what i first thought, heh
"background" isn't a valid property, it's "background-color"
On Dec 9, 4:14 pm, "David Blomstrom" <[EMAIL PROTECTED]>
wrote:
> Awesome - it works!
>
> Thanks so much for all the tips.
Awesome - it works!
Thanks so much for all the tips.
"...there are still no colored rows"
You *really* should download firebug (http://www.getfirebug.com) so
you can see what your code (and/or the code you use) is actually
doing
the "zebra" widget adds the class to the tag, not the tag,
hence your css of
tr.odd td { background: #ff0;
My bad. I forgot the {} so there is a js error now .
corrected code :
$(document).ready(function()
{
$("#myTable").tablesorter({ widgets: ['zebra']} );
}
);
On Tue, Dec 9, 2008 at 9:54 PM, David Blomstrom
<[EMAIL PROTECTED]>wrote:
> Sorry, when I pasted that script in, there were s
Sorry, when I pasted that script in, there were still no row colors, plus
the sorting function sstopped working.
On Tue, Dec 9, 2008 at 12:46 PM, Olivier Percebois-Garve <
[EMAIL PROTECTED]> wrote:
> ok. do that instead:
>
>
> type="text/javascript">
>
> $(document).ready(function()
> {
>
Sorry, I missed the messag that references class "odd." Yet when I insert
the following style...
tr.odd td { background: #ff0; }
...there are still no colored rows.
ok. do that instead:
$(document).ready(function()
{
$("#myTable").tablesorter( widgets: ['zebra'] );
}
);
On Tue, Dec 9, 2008 at 9:43 PM, David Blomstrom
<[EMAIL PROTECTED]>wrote:
> Thanks.
>
> I changed my code accordingly...
>
>
> type="text/javascript">
>
>
> $(document).ready
Thanks.
I changed my code accordingly...
$(document).ready(function()
{
$("#myTable").tablesorter();
}
);
$("table").tablesorter({
widgets: ['zebra']
});
* * * * *
But it works just as before; there are no table colors except when I
mouseover a row.
I'm assuming I only need
sry. wrong paste:
$("table").tablesorter({
widgets: ['zebra']
});
On Tue, Dec 9, 2008 at 9:18 PM, Olivier Percebois-Garve <[EMAIL PROTECTED]
> wrote:
> The zebra code you have seems to be based on another library (Prototype ?),
> so it wont run using without it.
> Anyway, there's a zebra p
The zebra code you have seems to be based on another library (Prototype ?),
so it wont run using without it.
Anyway, there's a zebra plugin included by default in the tablesorter.
just do:
$("table").tablesorter({
widgets: ['zebra','repeatHeaders']
});
Olivier
On Tue, Dec 9, 2008 at 9:01
Yuck
If you want to use Tablesorter, why not use the way it's supposed to
be used?
one simple setting of the "widgets" in the ".tablesorter" call would
wire up all alternate rows with the class "odd" (and it's done!)
On Dec 9, 3:01 pm, "David Blomstrom" <[EMAIL PROTECTED]>
wrote:
> I want t
12 matches
Mail list logo