artwalk
05-28-2005, 04:33 PM
I'm using Turnover's Visual Experience as a template base and I'd like to modify the "previous, current, next" links a bit -- but I don't know how. I figured it out in WordPress but not here. :(
What I'd like to have is if I'm in the latest or current page, the "next" link should not appear. It only does when I've already clicked on the "previous" link and so on.
This is the code snippet in the template I'm trying to modify.
<div class="menu"><a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">&lt;&lt; previous</a> | <a href="index.php?popup=comment&amp;showimage=<IMAGE_ID>" onclick="window.open(this.href, 'Comments','height=540, width=550, top=10, left=10, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=yes, status=no'); return false;" title="Post a Comment"><IMAGE_COMMENTS_NUMBER> Comments</a> | <a href="index.php?showimage=<IMAGE_NEXT_ID>">next &gt;&gt;</a> // <a href="index.php" title="Back Home">home</a> - <a href="index.php?x=about" title="About me">about &amp; infos </a> - <a href="?x=browse&amp;pagenum=1" title="Archives page">archives</a> - <a href="index.php?x=rss" title="RSS 2.0">rss</a></div></div>
Any tips? :)
What I'd like to have is if I'm in the latest or current page, the "next" link should not appear. It only does when I've already clicked on the "previous" link and so on.
This is the code snippet in the template I'm trying to modify.
<div class="menu"><a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">&lt;&lt; previous</a> | <a href="index.php?popup=comment&amp;showimage=<IMAGE_ID>" onclick="window.open(this.href, 'Comments','height=540, width=550, top=10, left=10, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=yes, status=no'); return false;" title="Post a Comment"><IMAGE_COMMENTS_NUMBER> Comments</a> | <a href="index.php?showimage=<IMAGE_NEXT_ID>">next &gt;&gt;</a> // <a href="index.php" title="Back Home">home</a> - <a href="index.php?x=about" title="About me">about &amp; infos </a> - <a href="?x=browse&amp;pagenum=1" title="Archives page">archives</a> - <a href="index.php?x=rss" title="RSS 2.0">rss</a></div></div>
Any tips? :)