mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-10-30 11:21:53 +01:00
7 lines
589 B
JavaScript
7 lines
589 B
JavaScript
|
/*!
|
||
|
* headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
|
||
|
* Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
|
||
|
* License: MIT
|
||
|
*/
|
||
|
|
||
|
!function(a){a&&(a.fn.headroom=function(b){return this.each(function(){var c=a(this),d=c.data("headroom"),e="object"==typeof b&&b;e=a.extend(!0,{},Headroom.options,e),d||(d=new Headroom(this,e),d.init(),c.data("headroom",d)),"string"==typeof b&&(d[b](),"destroy"===b&&c.removeData("headroom"))})},a("[data-headroom]").each(function(){var b=a(this);b.headroom(b.data())}))}(window.Zepto||window.jQuery);
|