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

Show banner every 10 links?

Quote Reply
Show banner every 10 links?
I've been thinking about this for quite a while now. I'm wondering if it was possible to do something like;

Link
Link
Link
Link
Link
Link
Link
Link
Link
Link

BANNER

Link
Link
Link
Link
Link
Link
Link
Link
Link
Link

BANNER

Link
Link
Link
Link
Link
Link
Link
Link
Link
Link

The problem I am having, is working out how the template tags should be written.

Something like this should work to show banners alternate links;

<%if odd%>
something
<%else%>
something
banner
<%endif%>

But that is not every 10 links. Anyone got any ideas?

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 Show banner every 10 links? Andy 1502 Oct 31, 2002, 6:58 AM
Post Re: [Andy] Show banner every 10 links?
yogi 1443 Oct 31, 2002, 7:11 AM