Example to toggle in a table listing.
<table do='contacts in site'> <tr do='each' toggle='favorite' for='visitor.node'> <td do='link'/> <td do='postal_code'/> <td do='city'/> </tr> </table>
css
The “toggle” element receives a ‘toggle’ class and a checkbox is inserted with Javascript. The “toggle” element also receives an ‘on’ or ‘off’ class that changes when the user clicks.

If the toggle element is a table row (tr), the first cell receives the checkbox.