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!
Quote Reply
Re: [Andy] [new codes] Alternate colors... In reply to
i find it with "bicolor" keyword search.
Quote Reply
Re: [Andy] [new codes] Alternate colors... In reply to
It was in the Links 1.1 forum, one of my longer posts ;)



http://www.gossamer-threads.com/...forum.cgi?post=86433


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] [new codes] Alternate colors... In reply to
>>>one of my longer posts ;)<<<

A lot of your posts are long...lol (not a bad thing)

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!