Thread: Pagination help
View Single Post
Old 12-29-2012, 09:12 PM   PM User | #3
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,172
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
As Philip said, the page you showed...at least the pagination part of it...has *NOTHING* to do with JavaScript.

Didn't you notice the URL that is used when you click on one? For example
Code:
http://www.soothetube.com/page/4/
???

So that is sending *BACK* to the server *ASKING* for "/page/4".

More than likely, what is actually happening is that there is a URL REWRITE rule in place (look that up) and you are actually hitting something like
Code:
http://www.soothetube.com/index.php?page=4
(It's not exactly that...I tried it. But check out what happens if you use
Code:
http://www.soothetube.com/index.php?p=4
or
http://www.soothetube.com/index.php?p=17
or some other number
so I'm on the right track.)

So this is 100% server-side pagination. Period.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.

Last edited by Old Pedant; 12-29-2012 at 09:16 PM..
Old Pedant is offline   Reply With Quote