V1.1.0
Upgrade Notice: This version changes how Smooth Parallax is initiated and how the elements options are set.
- Converted script into a javascript plugin.
- Renamed html attributes:
data-smooth-parallax-element
>smooth-parallax
data-start-percent
>start-movement
data-end-percent
>end-movement
data-start-x
>start-position-x
data-start-y
>start-position-y
data-end-x
>end-position-x
data-end-y
>end-position-y
data-smooth-parallax-element
>smooth-parallax
data-container-id
>container
.
- Changed element option container expected value to be a valid css selector instead of element id.
- Added element option base-size.
- Added global option pageScroll.