Hotmail style paging

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi everyone

I'm just wondering if anyone has some code already for a hotmail style  
paging mechanism.   Rather than showing all page numbers 1 2 3 ... etc.

It does this:

    1 2 3 4 .... 10 .... 30
    1 .......... 20 .... 30

If you have hotmail and lots of email please login and you will see what
I mean.

If anyone has one of these 'crazy' paging snippets I'd really appreciate  
it, tried searching google but couldn't find anything.



Re: Hotmail style paging


I think this article has some tips on pagination in php:

Quoted text here. Click to load it

Re: Hotmail style paging

petersprc wrote:
Quoted text here. Click to load it

Yes, it does, thanks.  However, that's a standard pager, I need it to be  
a hotmail style so that no matter how many pages it say fits within a  
block 200 pixels wide (or whatever) so it has to be intelligent and skip
numbers but still show the first set, a bit in the middle and the end  

Re: Hotmail style paging

While the city slept, Tyno Gendo ( feverishly typed...

Quoted text here. Click to load it

I've just knocked up some quick and dirty code that does something like
this. Take a look at and see
if that helps... It may get you on the way at least.


Nigel Moss
Mail address will bounce. | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"

Re: Hotmail style paging

nice.guy.nige wrote:
Quoted text here. Click to load it

Cheers Nige, that's a good start, thank you.

Site Timeline