Webmastersite.net
Register Log In

Column ordering

Comments on Column ordering

treehstn
Member

Usergroup: Customer
Joined: Nov 17, 2006

Total Topics: 5
Total Comments: 16
Posted Feb 10, 2007 - 11:31 AM:

Is there a way to make the columns order from top to bottom in the first column and then continue at the top of the second column, etc...??

Thanks!
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 11, 2007 - 3:19 AM:

Vertican ordering can get complex. I guess you could use 0 columns per row, remove the table, then place everything in a big two column one row table (or a pair of 50% width div floats if you prefer). In order to detect at which link the second column should begin you'd put this in the template:
<?php if ({LINKNUMBER} == (int)({CATLINKSHERE} / 2) { ?> </td><td> <?php } ?>
That should switch columns at the halfway mark.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 11, 2007 - 3:23 AM:

Since I see you're already reading the thread, please note the corrections in my edit.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.