ma.gnolia

Sign In | Learn More

Skip to main content


jturner  » Blog Archive   » Javascript pagination in yer face jturner » Blog Archive » Javascript pagination in yer face

  • Not rated yet.
  • Copy Bookmark

"Today I’d like to share my javascript paginator. Pagination is one of the most basic and powerful things you can do with PHP. Everyone is used to having very long lists broken up into 20 items, or so, per page. The downside is that a new page has to be loaded and PHP is often overkill for a very simple product. Furthermore, it recquires the user to load a new page when, very often, loading all of the items would be neglible. The attached javascript simply reacquires that you give it a css selector for the kind of item you want to paginate. In the example paragraph tags are paginated. Another argument suppies the number of items to show at a time. Links with ID’s nextLink and prevLink are required, but this could easily be mofied to create those links or accept arguments for those elements." Oooohh! Sounds super handy - can't wait to give it a try!

15 people have commented on this bookmark

1 2 3

Name Title Rating When
1_32 John Javascript pagination in yer face
Not rated yet.
August 23, 2007

good CSS selector based pagination, hopefully I can port this to mootools!

397_32 Sasha jturner » Blog Archive » Javascript pagination in yer ...
Not rated yet.
May 23, 2006

"Today I’d like to share my javascript paginator. Pagination is one of the most basic and powerful things you can do with PHP. Everyone is used to having very long lists broken up into 20 items, or so, per page. The downside ...

1_32 vesa jturner » Blog Archive » Javascript pagination in yer face
Not rated yet.
May 23, 2006
7738_32 Patrick Javascript pagination
Not rated yet.
May 22, 2006

Paginate large amounts of content into pages using Javascript.

1_32 graeme jturner - Javascript pagination in yer face
Rated 3 stars out of 5.
May 21, 2006

1 other group has this bookmark in their collection

Name Title Rating When
3595_32 Advanced Javascript jturner - Javascript pagination in yer face
Not rated yet.
May 21, 2006

By Jack Turner. It’s only fitting that my first substantive post would be while there is a party going on at my home and I’m being antisocial over in the office part of the apartment. Today I’d like to share my javascript...