[jQuery] Re: how to zebra stripe divs?

2009-02-17 Thread mark law
), 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

[jQuery] Re: how to zebra stripe divs?

2009-02-16 Thread mark law
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")

[jQuery] Re: how to zebra stripe divs?

2009-02-16 Thread mark law
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

[jQuery] Re: how to zebra stripe divs?

2009-02-16 Thread mark law
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