oxborrow.net

Simple Solutions

{cycle} tag for the Smarty template system

Allows you to alternate between values. Useful for the common practice of highlighting every other row in data tables. E.g.: <tr class="{cycle values="odd,even"}">

Table row show/hide problem

Cross-browser solution to showing a table row since display: table-row does not appear so well supported.

Tags: