Sunday, 12 April 2009

Overdue date code

Below is the code which tells the browser how to output a ToDo List item which is overdue:



It tells the browser to check the time, compare it with the time in the database and display any overdue items with a red font. It will also display the category in brackets next to the item as the text is red which takes away from the colour recognition.

No comments:

Post a Comment