/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(function($) { $.fn.pluginname = function(options) { var settings = $.extend({}, $.fn.pluginname.defaultOptions, options); return this.each(function() { var $this = $(this); }); }; $.fn.pluginname.defaultOptions = { }; })(jQuery);