[buddypress-trac] [BuddyPress] #2465: JQuery fix for proper alternate table row highlighting -> Has Patch

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jun 28 17:28:42 UTC 2010


#2465: JQuery fix for proper alternate table row highlighting -> Has Patch
--------------------------------------+-------------------------------------
 Reporter:  jeffsayre                 |        Owner:  jeffsayre
     Type:  defect                    |       Status:  reopened 
 Priority:  normal                    |    Milestone:  1.2.5    
Component:  Core                      |   Resolution:           
 Keywords:  has-patch, needs-testing  |  
--------------------------------------+-------------------------------------
Changes (by DJPaul):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Why are we even using Javascript to add an alt class to achieve zebra
 striping?

 table tr:nth-child(even) { background-color: pink; }


 IE7/8 are the only mainstream browsers that doesn't support nth-child, and
 IE9 will/does have support for it. Progressive enhancement?

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2465#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list