[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
Sat Jun 26 11:08:56 UTC 2010


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

 * cc: hashmore@… (added)


Comment:

 It's a good catch Jeff, it had bugged me too when I looked at styling
 those notification rows. I actually stuck with styling the tr:first-child
 and clearing the alt styling as that particular table is divided by the
 tr>th rows really.

 Tested your patch quickly on local install WP 3.0 BP 1.2.4.1 and it
 appears to be fine.

 One further addition that may or may not be over egging the pudding but
 could add the snippet below to your change just to provide extra class
 control for the tr>th rows?

 jq('table tr >th').parent('tr').addClass('row-headers');

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


More information about the buddypress-trac mailing list