I have installed the Column Record Display no problem...easy install.
I am having problems though with the records that display and assigning a cell alignment to them e.g., Valign=top (or bottom)'
seems only "unused" cells will hold the formatting, but used cells dont.
Here is my slightly modified MOD that isn't workin. (bold is my addition)
also, using short display with 3 columns set. thanks in advance
$i = 1;
$cols = 3; # Change this to the number of columns you want
print "<table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000>";
for (0 .. $numhits - 1) {
unless ($_%$cols) {
print "<TD valign=bottom>";
}
&html_record (&array_to_hash($_, @hits));
if ($_%$cols==($cols-1)) {
print "</tr>\n";
}
++$i;
}
if ($numhits%$cols) {
for ($j=($cols-1);$j>=$numhits%$cols ;$j--) {
print "<TD valign=bottom></td>";
}
print "</tr>\n";
}
print "</table>";
POC Web Services - www.POC.us
I am having problems though with the records that display and assigning a cell alignment to them e.g., Valign=top (or bottom)'
seems only "unused" cells will hold the formatting, but used cells dont.
Here is my slightly modified MOD that isn't workin. (bold is my addition)
also, using short display with 3 columns set. thanks in advance
$i = 1;
$cols = 3; # Change this to the number of columns you want
print "<table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000>";
for (0 .. $numhits - 1) {
unless ($_%$cols) {
print "<TD valign=bottom>";
}
&html_record (&array_to_hash($_, @hits));
if ($_%$cols==($cols-1)) {
print "</tr>\n";
}
++$i;
}
if ($numhits%$cols) {
for ($j=($cols-1);$j>=$numhits%$cols ;$j--) {
print "<TD valign=bottom></td>";
}
print "</tr>\n";
}
print "</table>";
POC Web Services - www.POC.us