0.2.1 • Published 6 years ago

jquery.sticky v0.2.1

Weekly downloads
1,327
License
MIT
Repository
github
Last release
6 years ago

jquery.sticky

Get started

Install

$ yarn add jquery.sticky

Load scripts

<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="/node_modules/jquery.sticky/dist/jquery.sticky.min.js"></script>
<link rel="stylesheet" href="/node_modules/jquery.sticky/dist/sticky.css">

Setting

<script>
jQuery(function($) {
  $('.sidebar').sticky({
    breakpoint: 1024, // Optional. over 1024px, fired
    offset: 0 // Optional
  });
});
</script>

License

MIT

0.2.1

6 years ago

0.2.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago