/ Published in: JavaScript
jQuery Sketch Plugin
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * sketch jQuery Plugin * */ (function($){ $.fn.extend( { mymethod: function(options){ var defaults = {}; var options = $.extend(defaults, options); return this.each(function(){ var __e = $(this); // todo // default options in "options" }); } }); })(jQuery);
URL: http://www.undolog.com/2008/09/23/jquery-come-costruire-unestensione-plugin/