摘要: 首先封装了分页代码作为一个插件,代码如下:(function ($) { jQuery.pageflip = { paging: function (newPageIndex, recordCount) { ... 阅读全文
posted @ 2015-03-23 16:39 lanyan 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.cnblogs.com/MaxIE/archive/2008/08/13/1266597.html问题一:首先我们用iframe加载页面,第一个需要解决的问题是高度自适应的问题,有2个方法第一个是:这里需要加载的页面的url地址是url +'?id='+ tasked第二... 阅读全文
posted @ 2015-03-23 16:36 lanyan 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 一般我在写一个函数的时候,可能需要一个回调函数,例如:function loadQtipCode(dom, title, content, width, showcb, hidecb) { $(dom).qtip({ content: { ... 阅读全文
posted @ 2015-03-23 16:29 lanyan 阅读(717) 评论(0) 推荐(0) 编辑