Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 69
Location: Chuluota, Florida
Trades: 0
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
 
 
Register now for full access!
Old 10-18-2006, 06:50 PM Re: successive page linking ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
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
Super Talker

Posts: 104
Trades: 0
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
Trades: 0
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
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to successive page linking ?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





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



Page generated in 0.64513 seconds with 13 queries