Gossamer Forum
Quote Reply
How do I
Ok I want to setup a mod for the pages as far as like the "Next 10" and so on. I have four images that I'd like to use with it. Here's what I'd like to do. Have an image that takes you to the first page in the category, an image to take you to the previous page, a drop down box with all of the pages to let you select which page you want to go to, an image to go to the next page, an image to go to the last page of the category. How do I set this up?
Quote Reply
Re: [LordStryfe] How do I In reply to
Anyone?
Quote Reply
Re: [LordStryfe] How do I In reply to
This will do most of what you want:

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=275602#275602

This will use a linked image for next/previous pages, and it provides a linked number for each page in the category (1 2 3). Making it use a dropdown box would require a bit more code work, but shouldn't be too hard. Unless you are spanning a LOT of pages, though, I would stick with the code as it is.

....

Well, actually that code does not use images, but that's an easy fix. Just change it like so (several places)...

$more_cat_pages .= "<a href=\"more$page_num$build_extension\"><img src=\"\/images\/nav\/pointright.gif\" border=\"0\"></a>";

Be sure to set the image source to point to the proper image (previous or next). I used pointing fingers.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Jan 14, 2006, 2:37 PM