Posted By

morvan on 11/08/09


Tagged

javascript plugin template jquery


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

nerdfiles
createinside
wanderlusts


JQuery Plugin Template


 / Published in: jQuery
 

  1. (function($){
  2. $.fn.pluginName = function(options) {
  3.  
  4. var defaults = {
  5. };
  6. var options = $.extend(defaults, options);
  7.  
  8. return this.each(function() {
  9.  
  10. });
  11. };
  12. })(jQuery);

Report this snippet  

You need to login to post a comment.