classify_tables.js

Javascript to assist styling table columns and rows









Table adapted from Accessible Data Tables

Imported and domestic cherry and apricot prices in Perth and Adelaide
Imported Domestic
12
3
Apricots Cherries Apricots Cherries
A Grade B Grade A Grade B Grade
Perth Wholesale $1.00 $9.00 $6.00 $1.20 $13.00 $9.00
Retail $2.00 $12.00 $8.00 $1.80 $16.00 $12.50
Adelaide Wholesale $1.20 N/A $7.00 $1.00 $11.00 $6.00
Retail $1.60 N/A $11.00 $2.00 $13.00 $10.00

Process Time:

Tested: Win: IE5+,Opera7+,FF Mac: Safari1.3+,IE5*

IE5/mac seems to misrender nested tables (which must be temporarily removed from the document).

Creative Commons License
classify_tables.js is licensed under a Creative Commons Attribution 2.5 License.