Customiing Results Page

User avatar
John
Site Admin
Posts: 2623
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Customiing Results Page

Post by John »

For an arbitrary number of colors you could create a variable holding the last color, and then create a div and update the variable, e.g.

<switch $lastcolor>
<case ffffff><$lastcolor=cccccc>
<case cccccc><$lastcolor=ccffcc>
<default><$lastcolor=ffffff>
</switch>
<div style="background: $lastcolor">
.... <!-- The record display code -->
</div>
John Turnbull
Thunderstone Software
resume.robot
Posts: 68
Joined: Sat Jan 13, 2001 1:23 am

Customiing Results Page

Post by resume.robot »

thanks, John, <switch $lastcolor> worked like a champ

Mike