Highlight JS lib other projects

Use javascript to alternate row colors on tables and lists

Quick examples:

Lists: new HighlightAlternate.list('vegi');

2 colors: 3 colors:
  • carrot
  • pepper
  • onion
  • green been
  • celery
  • lettuce
  • carrot
  • pepper
  • onion
  • green been
  • celery
  • lettuce


Table: new HighlightAlternate.table('numbers');

NOTE: Try clicking a row.



Number/Numero English Espanol
1 One Uno
2 Two Dos
3 Three Tres
4 Four Quatro
5 Five Cinco
Number/Numero English Espanol

Documentation

Coming soon, I hope.

Download

v0.2.0 (tarball)

NOTE: This is still beta code. As such the API is still subject to change (hopefully not much however).

NOTE: This library requires prototype.

Features

Licensing

BSD based license, download it and look at license.txt

Comments/Concerns?

Write to me at junk@thinkof.net.

Project colophon

Written by Greg Militello from Dyrect Media Group, LTD.

The idea for this came from alistapart.com's zebra tables, and table ruler.

Also a note should be made to the guys at the Rails spinoffs Mailing list. They have been incredibly helpful. Thanks!

Change log

Todo/bug list

Have a bug or a feature you want me to add? Email it to me at junk@thinkof.net.