jQuery Pagination Plugin Demo,一个使用jQuery来实现的分页插件。下面有三个事例,一个是简单的,一个是使用Ajax技术,还有一个复杂的可控的分页。这3个事例也同时用css样式里的div来进行布局的。
1、第一个事例:
This is a very simple demo that shows how a range of elements can be paginated.这是一个非常简单的演示,显示了如何一个范围的元素,可以分页。
2、第二个事例:
This demo shows how to paginate elements that were loaded via AJAX, It's very similar to the static demo.本演示展示了如何通过AJAX加载内容,这是非常相似的静态演示。
3、第三个事例:
pagination plugin. It also demonstrates how to use a JavaScript data structure to generate the paginated content and how to display more than one item per page with items_per_page.这个文件表明了分页插件的不同选择。它还演示了如何使用JavaScript数据结构产生分页的内容以及如何显示一个以上的项目。
options. This function creates an option object for the pagination function.This will be be unnecessary in your application where you just set the options once.该表格包含了许多分页属性字段,以便您可以快速看到不同方案的结果。该函数创建的分页函数.这选择的对象将是那些在应用程序中不必要的,您只需设置一次的选择。