jquery page 分页插件 怎么使用
展开全部
如何使用:
$("#page").Page({
totalPages: 14,//total Pages
liNums: 7,//the li numbers(advice use odd)
activeClass: 'activP', //active class style
firstPage: '首页',//first button name
lastPage: '末页',//last button name
prv: '?',//prev button name
next: '?',//next button name
hasFirstPage: true,//whether has first button
hasLastPage: true,//whether has last button
hasPrv: true,//whether has prev button
hasNext: true,//whether has next button
callBack : function(page){
//callBack function,page:active page
}
});
$("#page").Page({
totalPages: 14,//total Pages
liNums: 7,//the li numbers(advice use odd)
activeClass: 'activP', //active class style
firstPage: '首页',//first button name
lastPage: '末页',//last button name
prv: '?',//prev button name
next: '?',//next button name
hasFirstPage: true,//whether has first button
hasLastPage: true,//whether has last button
hasPrv: true,//whether has prev button
hasNext: true,//whether has next button
callBack : function(page){
//callBack function,page:active page
}
});
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询