A Simple Color Alternation Script For Lists
Here’s an example for a script i’ve made today to set ‘odd’ and ‘even’ class names for each <li> element in a list(s). The source code should be self-explanatory, so i guess no explanation is needed here.
Here’s an example for a script i’ve made today to set ‘odd’ and ‘even’ class names for each <li> element in a list(s). The source code should be self-explanatory, so i guess no explanation is needed here.
This is a script I’ve made earlier that cab make HTML tables a little interactive. It does row color alternation, row hover effect and even highlights a row when you click on it.
I’ve re-coded the script, with designers who can’t code in mind, to make it reusable (thus using lot’s of global variables). Just follow these simple steps to integrate it into your own web page: