首页 新闻 搜索 专区 学院

jquery插件参数问题

0
悬赏园豆:20 [已关闭问题]
jQuery.fn.pagination = function(maxentries, opts){<br>&nbsp;&nbsp; &nbsp;opts = jQuery.extend({<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;items_per_page:10,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;num_display_entries:10,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;current_page:0,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;num_edge_entries:0,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;link_to:"#",<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;prev_text:"Prev",<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;next_text:"Next",<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;ellipse_text:"...",<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;prev_show_always:true,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;next_show_always:true,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;callback:function(){return false;}<br>&nbsp;&nbsp; &nbsp;},opts||{});<br><br>看到这样一个分页插件,有没有方法在html获取opts呢?<br>
张九五的主页 张九五 | 菜鸟二级 | 园豆:210
提问于:2008-08-08 16:57
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册