Sticky is a jQuery plugin that gives you the ability to make any element on your page always stay visible.
## Sticky in brief
This is how it works:
– When the target element is about to be hidden, the plugin will add the class `className` to it (and to a wrapper added as its parent), set it to `position: fixed` and calculate its new `top`, based on the element’s height, the page height and the `topSpacing` and `bottomSpacing` options.
– That’s it. In some cases you might need to set a fixed width to your element when it is “sticked”. Check the `example-*.html` files for some examples.
– Include jQuery & Sticky.
– Call Sticky.
Joomla! 2.5.x, Joomla! 3.x
Copyright 2014 JoomQuery.com.