Would like to split each link up to a little table - where each has an alternate pastel coloured background. Any ideas on how this would be achieved? TIA.
Mar 16, 2004, 8:37 PM
Veteran / Moderator (6956 posts)
Mar 16, 2004, 8:37 PM
Post #2 of 10
Views: 2490
Mar 16, 2004, 9:48 PM
User (424 posts)
Mar 16, 2004, 9:48 PM
Post #6 of 10
Views: 2479
Check this post http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=218345
Also, do a search on loop links - http://www.gossamer-threads.com/perl/gforum/gforum.cgi?do=search_results&search_forum=all&search_type=AND&search_string=loop+links
Mar 19, 2004, 9:47 PM
User (226 posts)
Mar 19, 2004, 9:47 PM
Post #7 of 10
Views: 2421
I did get the latest manual from GT - very well written and helped me with a lot of things. Only thing I see missing is a complete list of tags documented which would be nice. Have to hunt through the docs to find things and not all are listed. Otherwise very well done.
Cannot find the odd/even that you spoke of, maybe I missed it but not for the want of trying. Any further help appreciated.
Cannot find the odd/even that you spoke of, maybe I missed it but not for the want of trying. Any further help appreciated.
Mar 19, 2004, 11:27 PM
User (424 posts)
Mar 19, 2004, 11:27 PM
Post #8 of 10
Views: 2429
Try replacing
<%if links%>
<%links%>
<%endif%>
with
<%if links%>
<%loop links_loop%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="<%if even%>#CCCCCC<%else%>#999999<%endif%>">
<%include link.html%>
</td>
</tr>
</table>
<%endloop%>
<%endif%>
Just change td colors to your own ...
Hope that helps
Code:
<%if links%>
<%links%>
<%endif%>
with
Code:
<%if links%>
<%loop links_loop%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="<%if even%>#CCCCCC<%else%>#999999<%endif%>">
<%include link.html%>
</td>
</tr>
</table>
<%endloop%>
<%endif%>
Just change td colors to your own ...
Hope that helps