Gossamer Forum
Home : Products : Gossamer Links : Discussions :

how to limit results printing "pages 1 2 3 4 5 6 ... 29 30"?

Quote Reply
how to limit results printing "pages 1 2 3 4 5 6 ... 29 30"?
As far as I know, links sql is going to print all the page numbers. How to limit it to be:

1 2 3 4 5 6 7 8 9 (then ...) 25 26 or like google
1 2 3 4 5 6 7 8 9 10 if you click on 2 it turns to
2 3 4 5 6 7 8 9 10 11

some kinda of limitation would be good so it doens't go on printing on the screen all at once
Quote Reply
Re: [flybuzz] how to limit results printing "pages 1 2 3 4 5 6 ... 29 30"? In reply to
I think it will only show a maximum of 15 pages on the span bar. I needed to only show a maximum of 5 for mine so I made the modification that is in the following thread:

http://www.gossamer-threads.com/...i?post=268437#268437

Unfortunately, this only shortens the number of span pages, and doesn't do it exactly like google. It would probably take a modification of the code in Build.pm as in the thread above.

--FrankM

Last edited by:

FrankM: Aug 9, 2004, 12:10 PM
Quote Reply
Re: [FrankM] how to limit results printing "pages 1 2 3 4 5 6 ... 29 30"? In reply to
Hi.

The url posted leads to 404 page.

Anup
Quote Reply
Re: [anup123] how to limit results printing "pages 1 2 3 4 5 6 ... 29 30"? In reply to
Oops. The link to the thread is below:

Here is the link to the thread...