successive page linking?
Hi.......
I'm trying to find a script that let's my site visitors go to a particluar reference page, or jump to a page number, the beginning or the end of the "series". This is hard to describe which is probably why I haven't been able to find it, let me give an example:
Let's say you have 20 pages of reference material under a common subject/topic. On the bottom of each page there would be a left double arrow (goes to the 1st page in the series) , a right double arrow (goes to the last pahe in the series). Also 4 or 5 of the "next" page numbers in the series would be visible (each an active link to that page number) would be visible, depending on the page the visitor was viewing.
Example, let's say you were on page 4: on the bottom of the page there would be the two double arrows, plus say "pages 5, 6, 7, 8...." the visitor can select. The whole idea is so I don't have to list all 20 pages of links on each and every page. If the visitor was on page 15, on the bottom he/she would see; "pages 16, 17, 18, 19......"
I see this set up on many web sites.
Any help is appreciated!
Joe Hussar
Joe Hussar
[email protected]
http://www.candylandcrafts.com
Abhishek Reddy posted this at 12:31 — 17th October 2006.
He has: 3,348 posts
Joined: Jul 2001
I guess it's called pagination.
How are you generating your series of pages? If it's PHP or similar, it would be best to create the page navigation bit on the server-side.
You could probably concoct some Javascript to do the same, but I would advise against it, in preference to server-side code.
Joe Hussar posted this at 16:07 — 17th October 2006.
They have: 71 posts
Joined: Mar 2002
Hello......
Thanks for the reply. I use Front Page for web pages. Right now I simply list all the pages with a link to each one..... here:
http://www.candylandcrafts.com/candylandscreativecorner1.htm
I don't use php, maybe I just need to stay with what I have?
Joe Hussar
[email protected]
http://www.candylandcrafts.com
Abhishek Reddy posted this at 16:31 — 17th October 2006.
He has: 3,348 posts
Joined: Jul 2001
Well, yeah. Unless you feel like manually creating and maintaining the links. You could still do the Javascript thing, but I imagine it'd be even harder with Frontpage.
Alternately, don't use Frontpage. If your site is of non-trivial size, or has changing content, it may be worth your while in the long term to use server-side scripting to manage it; this is easier without Frontpage getting in your way.
Also, your (X)HTML output will can vastly improve. So it'll be easier to make your site more usable, more widely accessible, better designed, faster, more search-engine friendly, and scriptable.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.