JQuery Paginate插件 [英] JQuery Paginate Plugin

查看:97
本文介绍了JQuery Paginate插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近发现了一些Paginate Plugin

但是它只有NEXT& PRV


这里是代码

展开 | 选择 | Wrap | 行号

解决方案

文件名为jQuery.quickpaginate.packed.js


&示例是jQuery Quick Pagination


您的帖子令人困惑。它是否带有next / prev或页码?你已经说过两个:


但是它只有NEXT& PRV


它返回页面号。



通常,当代码被这样混淆时,你最好自己写一个,或者找一个已经具有这个功能,或者很容易扩展的代码。 / blockquote>

感谢回复


关于我的帖子它的执行正常只有获取每页链接的问题

it NEXT& amp;上一页


变量如下


prev:'prev''链接的班级名称( s)=> " qp_next"

next:''next''链接的类名=> " QP_PREV"

counter:包装计数器的范围的类名=> qp_counter

totalnumber:包含总页数的范围的类名=> " qp_totalnumber"

pagenumber:包装当前页面数量的范围的类名称=> " qp_pagenumber"



& "返回页面否表示你想在每页显示多少项目。


我确定你知道 jquery pagination但看看下面的链接,它也是基于相同的方法,但以不同的方式,它的呼叫 jquery quick paginate"

http://plugins.jquery .com / project / quick_paginate

http:/ /projects.allmarkedup.com/jquery_quick_paginate/


I''ve recently find some Paginate Plugin
but it''s only came with NEXT & PRV

HERE IS THE CODE

Expand|Select|Wrap|Line Numbers

解决方案

the file name called jQuery.quickpaginate.packed.js

& Example is jQuery Quick Pagination


Your post is confusing. Does it come with next/prev or page numbers? You''ve said both:

but it''s only came with NEXT & PRV

it''s return the page no.

Usually, when code is obfuscated like this, you''re better off writing your own, or finding one that already has the functionality, or is easily extendable.


Thanks for reply

regarding my post it''s executed fine only problem with getting per page links
it''s only brining result with NEXT & PREV

variables are followings

prev : The class name for the ''prev'' link(s) => "qp_next"
next : The class name for the ''next'' link(s) => "qp_prev"
counter : The class name for the span that wraps the counter => qp_counter
totalnumber : The class name for the span that wraps the total number of pages => "qp_totalnumber"
pagenumber : The class name for the span that wraps the current page count => "qp_pagenumber"

& " return page no " mean how many items you want to show on per page.

i''m sure you know about " jquery pagination " but have a look following link it''s also based on same methord but in different way it''s call " jquery quick paginate "

http://plugins.jquery.com/project/quick_paginate

http://projects.allmarkedup.com/jquery_quick_paginate/


这篇关于JQuery Paginate插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆