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

[new codes] Alternate colors...

Quote Reply
[new codes] Alternate colors...
Just wrote this bit of code for category.html.. it lets you change the colors/designs for your links, alterntativly. Just put this into you template;

Code:
<%loop links_loop%>
<%if row_num % 2%>

<ul>
<li><%body_font%><a class="category_links" target="_blank" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><font color=green><%Title%></font></a>
</ul>

<%else%>

<ul>
<li><%body_font%><a class="category_links" target="_blank" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><font color=red><%Title%></font></a>
</ul>

<%endif%>
<%endloop%>

Just thought I would post it here, as someone requested it.. and I couldn't find it anywhere on the forums.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread [new codes] Alternate colors... Andy 2512 Sep 17, 2003, 5:20 AM
Post Re: [Andy] [new codes] Alternate colors...
romanslon 2420 Sep 17, 2003, 6:14 AM
Thread Re: [Andy] [new codes] Alternate colors...
pugdog 2423 Sep 17, 2003, 11:51 AM
Post Re: [pugdog] [new codes] Alternate colors...
Andy 2406 Sep 17, 2003, 12:43 PM