Onepage Scroll w/ FancyScroll Plugin
fancyScroll plugin was written as a base for creating one-page sites. It provides methods for linking menu with sections of one-page site and scroll from one section to another with easing. But the key feature of fancyScroll plugin is that it gives you control over sections’ background images, especially their offsets and speed with which they move relatively to the content and page itself. Unlike other plugins for page scroll, fancyScroll is written in native JavaScript what makes it small and fast.
Update 07/15/11
– “onhashchange” support added to scroll page with anchors
Update 08/10/11
- horizontal mode is now available, check
Update 27/04/12
- IE7 support added - addScroll() method has been changed to accept with arrays - added onScroll callback function - fixed problem with non numeric values in backgrond-position in IE
Update 04/07/12
- new “limit” attribute added to control offset of images - fixed bug with non-numeric values in background position for “fancyscroll-background” DIVs - added new callback functions - added new configuration parameters - added updateMap() method to update fancyScroll object for responsive designs
Credits and sources
Stock.XCHNG a FREE stock photo site