Guest User

Untitled

a guest
May 27th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. (function ($) {
  2.  
  3. $.fn.panels = function (options) {
  4. //set up the options
  5. var opts = $.extend({}, $.fn.panels.defaultOptions, options);
  6.  
  7. //make the container a panel container
  8. $(this).addClass(opts.class).addClass("panels_container");
  9. //$(this).data('options', opts);
  10.  
  11. //create the columns
  12. //if (opts.columns < 1 || isNaN(opts.columns)) { opts.columns = 1; }
  13. };
  14.  
  15.  
  16. $.fn.panels.panelDefaults = {
  17. class : ""
  18. };
  19.  
  20. })(jQuery);
Add Comment
Please, Sign In to add comment