jquery plugin skeleton  [ 320 views ]

Goal: to provide an usable plugin skeleton

(function($){
  $.fn.extend({
    pluginName: function(options) {
      var settings = $.extend({
        prop_1: null,
        ...
        prop_n: null,
	}, options);
      
      return this.each(function() {
        var $this = $(this);
      });
    }
  });
})(jQuery);
#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }