), not $("div.postSummary:odd").addClass("odd");
>
> On Feb 17, 12:04 am, mark law wrote:
> > Thanks MorningZ :), yes that is the one I'm trying to mimic. "odd" is
> only
> > declared in:
> >
> > $("div.postSummary-teas
gt;
>Row 3
>
>
>Row 4
>
>
>
> If you had
>
> Teaser 1
> Teaser 2
> Teaser 3
> Teaser 4
> Teaser 5
>
> then, there's no reason why
>
> $("div.postSummary-teaser:odd").addClass("odd")
I copied it from here:
http://blog.jquery.com/2006/10/18/zebra-table-showdown/ and tried
unsuccessfully to modify it for div classes ...
2009/2/17 MorningZ
>
> I'm just curious... where are you getting your syntax from?
>
> "div:.postSummary"
>
> ".postSummary-teaser(odd)" ??
>
> there's n
Thanks Stephen, I suppose it's usually only doctors who say "your colon is
in the wrong place" ;), unfortunately it still doesn't work :(, I appreciate
your help though
2009/2/17 aquaone
> your colon is in the wrong place. (how often does one get to say that?)
> $("div.postSummary-teaser:odd").a
4 matches
Mail list logo