Skip to content

Instantly share code, notes, and snippets.

(function ($) {
var idx = 0;
$.fn.dotsLoader = function (cmd, options) {
var api = {
toggle: function () {
api[this.data('loader-id') ? 'hide' : 'show'].apply(this, arguments);
},
(function ($) {
$.fn.stickyHeader = function (options) {
var $window = $(window);
var settings = $.extend({}, $.fn.stickyHeader.defaults, options);
return $(this).each(function () {
var $table = $(this),