Table of Content:
- The Original Page
- The New Styles
- Setting the Stage
- Getting the Rows
- Looping Through
- Modulus... Wasn't He on Star Trek?
- Color the Rows
- Specificity Rules
- The Full Script
- Highlighting a Row
- Conclusion
The beauty of the DOM is doing things on-the-fly, without hitting the server. In this tutorial, Tom shows us how to use DHTML to change the presentation of a page rather than its content, colouring alternate rows of a table in different colours to make it easier to read - and also shows how to highlight an individual record/ row.
Taught in Tom's usual easy-going style, this tutorial is suitable for beginners to the DOM and DHTML.