 
						传入总页数和每页显示条数,可设置显示多少位数字,ajax请求后台返回当前页条数
jQuery可点击回调的分页插件,cypager一款强大的支持分页效果的,样式有点类似bootstrap分页。上一页、下一页加载前的回调效果。cypager插件兼容 IE8+,Chrome,Firefox 浏览器,核心文件仅 5KB
生成分页的地方#pagerArea
| 1 2 3 4 5 | <div id="pagerArea"unselectable="on"onselectstart="return false;"></div>$("#pagerArea").cypager({pg_size: 10, pg_nav_count: 8, pg_total_count: 194, pg_call_fun: function(count) {         $("#console").html("正在加载第("+ count + ")页的数据,请稍后.......");     } }); | 
| 参数 | 描述 | 默认值 | 
| pgerId | 插件的ID | cy_pager | 
| pg_size | 每页显示记录数 | 10 | 
| pg_cur_count | 当前页数 | - | 
| pg_total_count | 总记录数 | - | 
| pg_nav_count | 显示多少个导航数 | 7 | 
| pg_prev_name | 上一页按钮名称 | PREV | 
| pg_next_name | 下一页按钮名称 | NEXT | 
| pg_call_fun(page_count) | 回调函数,点击按钮执行 | - | 
特别申明:
			本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
			本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
			如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com