From ebc4254ec179de26b8c7c45c0c411c7502d8a631 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 30 May 2003 10:37:56 +0000 Subject: [PATCH] added candy striping method --- presentation/Html.inc | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/presentation/Html.inc b/presentation/Html.inc index 4a29ef8..8dd3d3d 100644 --- a/presentation/Html.inc +++ b/presentation/Html.inc @@ -102,4 +102,10 @@ function getNumberStringValidationJavaScript() { "\n"; } +/** + * Candy striping helper method + */ +function getColour($iColourCount) { + return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF"; +} ?> -- libgit2 0.21.4