/*(function($) {
$.fn.accordion = function(options) {
var settings = $.extend({}, {open: false}, options);
return this.each(function() {
var dts = $(this).children('dt');
dts.click(onClick);
dts.each(reset);
if(settings.open) $(this).children('dt:first-child').next().show();
}); function onClick() {
$(this).siblings('dt').each(hide);
$(this).next().slideDown('fast');
return false;
} function hide() {
$(this).next().slideUp('fast');
} function reset() {
$(this).next().hide();
}
}
})(jQuery);
*/
相关文章
- 规范 : angular 组合 jquery plugin
- ZKEACMS添加搜索功能,搜索插件说明
- jQuery的$.get()函数不执行以及php端报错Uncaught Error: Call to a member function bind_param() on boolean in...
- jquery mobile script
- JQuery实现点击关注和取消功能
- 使用 Golang 编写链代码 (v0.6 )
- jQuery测试错题解析
- 从零开始学习jquery (一)
- FullCalendar – jQuery Event Calendar in ASP.NET
- jquery1.7.2的源码分析(四)$.Deferred(2)