| |||||
Besides the aforementioned functionality, Within Viewport can also move the viewport margins inside the screen to take account for fixed headers, footers or sidebars.
Originally developed as a jQuery plugin, now the library works as a stand-alone script.
The jQuery version is also included with the download, along with a demo.
Requirements:
· JavaScript enabled on client side
· jQuery JavaScript Library
What's New in This Release: [ read full changelog ]
· Cleaned up and standardized the jQuery plugin
· Added optional shortcut methods
· Added support for testing multiple sides at once (eg, left and bottom)
· Removed requirement for Array.forEach and replaced with faster while() loops
· Tested against IE8-9, Firefox 7, Chrome 15, Safari 5.1, Opera 11.52; Mac & Windows
· Included a demo

Via: Within Viewport 0.2
No comments:
Post a Comment