SEARCH:
Previous: hTDsFromArray Next: FindAccessKey

hTable_methodAlternate

string HTML
array Rows
string CSS_Class1
string CSS_Class2
HTML Tables


Generates and returns one or more TR elements, where the rows alternate between CSS_Class1 and CSS_Class2. If the two classes have different background colors, this produces alternating colored rows for the table, which some people find easier to read.

The first parameter is an Array of Rows. Each Row Array becomes a complete HTML TR element. The individual elements of each Row become HTML TD elements.

The class assignments are made to the TD elements.

Previous: hTDsFromArray Next: FindAccessKey