Offscreen.js works by detecting if an element is to the right or left side of a screen.
If so, and if the element is in danger of going outside the screen, the plugin adds a special class (if left or right) to the element.
These classes can then be used to pass new CSS display settings, adjusting the element's default behavior and tweaking it for these two special cases.
A demo is included with the download package.
Requirements:
- JavaScript enabled on client side
- jQuery
Comments not found