Blank / Default jQuery Plugin Snippet


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. (function($){
  2.  
  3. $.fn.PLGUINNAME = function(options) {
  4.  
  5. var defaults = {
  6. min: 300,
  7. max: 100
  8. };
  9.  
  10. var options = $.extend(defaults, options);
  11.  
  12. return this.each(function() {
  13.  
  14. });
  15.  
  16. };
  17. })(jQuery);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.