Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [rak] links display on 3 columns: Edit Log

Here is the list of edits for this post
Re: [rak] links display on 3 columns
Code:
<%loop link_results%>

<%if first%> <%-- set up the opening table --%>
<TABLE>
<TR>
<%endif%>

<TD>
<%include link.html%>
</TD>

<%ifnot row_num % 3%> <%-- close the row --%>
</TR>
<%endif%>

<%if last%> <%-- close the table --%>

<%if row_num % 3 eq 1%> <%-- balance the trailing rows --%>
<TD></TD><TD></TD>
<%endif%>

<%if row_num % 3 eq 2 %> <%-- balance the trailing rows --%>
<TD></TD>
<%endif%>

</tr>
</TABLE>
<%endif%>

<%endloop%>


The idea is there, but it might need some tweaking. Also, I don't know if the complex 'if' will work, if it doesn't, maybe Alex has a suggestion for getting around it.




PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.

Last edited by:

pugdog: Sep 13, 2001, 9:30 PM

Edit Log: