Simply include jQuery and this javascript and customize below in the javascript:
// give me a list of table rows classes you want to apply this affect to var tableRowCheckboxToggleClasses=new Array('odd_row', 'even_row'); // give me a class name you want to add to the table row when there are checkboxes checked var tableRowCheckboxCheckedClass='marked'; // by default, this script will apply to checkboxes within the rows specified // HOWEVER, you may manually exclude certain checkboxes based on their name, id or class // specify below var excludeCheckboxesWithNames=new Array('testName'); var excludeCheckboxesWithIds=new Array('checkme100', 'checkme101'); var excludeCheckboxesWithClasses=new Array('testClass');
It will just work :)