- Overview
- Documents
jQuery sticky elements is a jquery plugin to create sticky elements. It keeps your div at position you want and create rules for it to stay & hide.
Source: github.com
Sep 23, 2014 in Menu & Accordion 3576 views
jQuery sticky elements is a jquery plugin to create sticky elements. It keeps your div at position you want and create rules for it to stay & hide.
Source: github.com
1. INCLUDE JS FILES
<script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript" src="../js/jquery.sticky.elements.js"></script>
2. HTML
<div class="grid" id="grid1" style="background: rgb(169, 199, 238);color: black;border: black 1px solid;"> <img src="icons/external-link.png" class="icon"> This is a demo grid - I, position not fixed </div>
3. JAVASCRIPT
$("#grid5").stikify({rate: 3.4, cieling: -100});
Tagged with:
jquery sticky elements
jquery plugin
sticky elements
div at position
stay & hide
sticky
elements
create sticky
Related Articles