Parallax Scrolling (Page Relative) Recipe
This Recipe creates the settings needed for parallax scrolling -- scrolling a background image at a different speed than the rest of the page.
Unlike the Parallax Scrolling (Element Relative) Recipe, calculations are performed based on the scroll position of the webpage.
Options
- Animated Element ID: the ID of the element whose CSS properties are going to be controlled to create the parallax effect. If you are going ot use this Recipe in the usual way, this will be the ID of a DIV which uses the image to be scrolled as its background.
- Tweening Stops: the numbers used to control how fast the background image will scroll. See the documentation of the Tweening Action for a detailed explanation.
See also the CSS code section of the documentation for the Parallax Scrolling (Element Relative) Recipe.