Always there with a nice solution Viktor! Kudos!
On 11/05/2009 15:07, "Viktor Klang" <[email protected]> wrote: > This is the jQuery approach: (written from head, so may not compile) > > CSS= .striped tr { background-color : #FFFFFF } > MARKUP= <table><tbody > class="striped"><tr><td>hoho</td></tr><tr><td>haha</td></tr><tr><td>hihi</td>< > /tr></tbody></table> > JS= $('.striped tr:nth-child(odd)').css('background-color','#DDDDDD'); > > Ref: http://dev.opera.com/articles/view/zebra-striping-tables-with-css3/ > > Cheers, > Viktor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
