This is a jQuery plugin definition for the vanilla PositionSticky library. For code metrics, unit tests, issues please refer to the PositionSticky library.
-------------------------- => window
| -------------------- |
| | --- |==|=> container
| | | | | |
| | | |==|==|=> sticky
| | --- | |
| | | |
| | | |
| | | |
| | | |
| -------------------- |
| -------------------- |
| | | |
| | | |
$('#sticky').positionSticky();
- Simple usage
- Left floating elements
- Right floating elements
- Multiple floating elements
- Refresh functionality
- A sidebar example
- Chrome
- Firefox
- Safari
- IE9+