Commit ebc4254ec179de26b8c7c45c0c411c7502d8a631
1 parent
d2267331
added candy striping method
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1986 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
0 deletions
presentation/Html.inc
| @@ -102,4 +102,10 @@ function getNumberStringValidationJavaScript() { | @@ -102,4 +102,10 @@ function getNumberStringValidationJavaScript() { | ||
| 102 | "</script>\n"; | 102 | "</script>\n"; |
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | +/** | ||
| 106 | + * Candy striping helper method | ||
| 107 | + */ | ||
| 108 | +function getColour($iColourCount) { | ||
| 109 | + return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF"; | ||
| 110 | +} | ||
| 105 | ?> | 111 | ?> |