摘要: doT.js模板和pagination分页应用博客中模拟了数据加载初始化的过程。doT.js渲染每一项内容的数据项。示例如下:pagination分页插件的使用,示例如下:MessPage.pagination(total, { callback: initPage, prev_text: "«", next_text: "»", items_per_page: pageSide, num_edge_entries: 1, num_display_entries: 10, current_page: current});参数说明:ca 阅读全文
posted @ 2014-02-23 21:35 前端咖 阅读(3822) 评论(0) 推荐(0) 编辑