A Simple Color Alternation Script For Lists

Published April 18th, 2006 under JavaScript, Web Development
by Mashhoor Al Dubayan

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. :)

‘Table Highlight’ Script For Designers

Published April 16th, 2006 under JavaScript, Web Development
by Mashhoor Al Dubayan

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:

Read the rest of this entry »