in HTML_Templates.pm
ok.. let's just say there are 12 names and then you want 5 columns..
$#names+1 would be 12..
$LINKS{build_category_columns} would be 5
so it's like saying
now simplify..
well let's see...
2.5.8.11
3.6.9.12
that's only 4 columns..
ok.. so what if MODULUS wasn't in the matimaticas (spanish )..
let's see
2.4.6.8.10.12
now that's 6 columns..
hehe.. alex.. i don't think this is possible
jerry
[This message has been edited by widgetz (edited November 10, 1999).]
Code:
my $breakpoint = int (($#names+1) / $LINKS{build_category_columns}) + ( (($#names+1) % $LINKS{build_category_columns}) ? 1 : 0);ok.. let's just say there are 12 names and then you want 5 columns..
$#names+1 would be 12..
$LINKS{build_category_columns} would be 5
so it's like saying
Code:
my $breakpoint = int (12 / 5) + ( (12 % 5) ? 1 : 0);now simplify..
Code:
my $breakpoint = 3;well let's see...
Code:
1.4.7.10 2.5.8.11
3.6.9.12
that's only 4 columns..
ok.. so what if MODULUS wasn't in the matimaticas (spanish )..
Code:
my $breakpoint = 2;let's see
Code:
1.3.5.7.9.11 2.4.6.8.10.12
now that's 6 columns..
hehe.. alex.. i don't think this is possible
jerry
[This message has been edited by widgetz (edited November 10, 1999).]