(function($){
$.fn.插件名 = function(settings){
var defaultSettings = {
}
/* 合并默认参数和用户自定义参数 */settings = $.extend({},defaultSettings,settings);return this.each(function(){
});
})(jQuery);