Simple jQuery Plugin To Make Sticky Footer Element
File Size: | 17.2 KB |
---|---|
Views Total: | 3900 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |
Sticky Footer is a super simple jQuery plugin that makes your footer element always stay at the bottom of the web page without the need to write any CSS rules.
How to use it:
1. Make sure to include the jQuery sticky footer plugin after you have jQuery library installed.
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script> <script src="jquery.sticky-footer.min.js"></script>
2. Create a footer for your web page.
<footer>I'm the Sticky Footer.</footer>
3. Enable the plugin by calling the stickyFooter() method on the footer element.
$('footer').stickyFooter();
Change log:
2016-02-26
- Sticky footer can be nested
2015-09-30
- update and bugfix
This awesome jQuery plugin is developed by the-software-factory. For more Advanced Usages, please check the demo page or visit the official website.