Hi there,
I notice that under the html.pl file, in the "html_view_success" subroutine, there's this:
for (0 .. $numhits - 1) {
print "<TR><TD>";
&html_record (&array_to_hash($_, @hits));
print "</TD></TR>";
++$i;
}
And I have the short/Long display mod installed.
Can i actually write something that, let's say, have a specific color for the row (e.g. Change the above <TD> tag to <TD Bgcolor="Somecolor"> when the hit is an odd, and some other color when the hit is an even)
so that it makes an alternating color look? I don't know which variables will keep track of the Hit number and what perl function will be able to check whether that number is an odd or even.....
Thanks!
I notice that under the html.pl file, in the "html_view_success" subroutine, there's this:
for (0 .. $numhits - 1) {
print "<TR><TD>";
&html_record (&array_to_hash($_, @hits));
print "</TD></TR>";
++$i;
}
And I have the short/Long display mod installed.
Can i actually write something that, let's say, have a specific color for the row (e.g. Change the above <TD> tag to <TD Bgcolor="Somecolor"> when the hit is an odd, and some other color when the hit is an even)
so that it makes an alternating color look? I don't know which variables will keep track of the Hit number and what perl function will be able to check whether that number is an odd or even.....
Thanks!