Reply
successive page linking ?
Old 10-17-2006, 07:11 AM successive page linking ?
Joe Hussar's Avatar
Skilled Talker

Posts: 68
Location: Chuluota, Florida
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
http://www.candylandcrafts.com/
Joe Hussar is offline
Reply With Quote
View Public Profile Visit Joe Hussar's homepage!
 
When You Register, These Ads Go Away!
Old 10-18-2006, 06:50 PM Re: successive page linking ?
chrishirst's Avatar
Super Moderator

Posts: 15,313
Location: Blackpool. UK
It is not done in javascript!

It's called pagination and it is handled using server side code (php, asp, .net etc)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-18-2006, 11:04 PM Re: successive page linking ?
logic ali's Avatar
Skilled Talker

Posts: 88
Quote:
Originally Posted by Joe Hussar View Post
Hi.......

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......"
Where a server-side language is not available, a JS solution is feasible when the number of files in the series is known, as it must be specified in the script and updated by the webmaster if/whenever the number changes.
If you can't implement a server-side solution, try this attached script.
Attached Files
File Type: zip jspaginator.zip (2.5 KB, 0 views)

Last edited by logic ali : 10-22-2006 at 11:07 PM.
logic ali is offline
Reply With Quote
View Public Profile
 
Old 10-19-2006, 02:14 AM Re: successive page linking ?
seomumbai's Avatar
Skilled Talker

Posts: 98
I think all you have to do is to change the buttons visiblity ststus to false.
seomumbai is offline
Reply With Quote
View Public Profile
 
Old 10-21-2006, 05:04 AM Re: successive page linking ?
chrishirst's Avatar
Super Moderator

Posts: 15,313
Location: Blackpool. UK
Quote:
Originally Posted by seomumbai View Post
I think all you have to do is to change the buttons visiblity ststus to false.
Huh ???
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to successive page linking ?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13744 seconds with 13 queries