Smooth Parallax Versions Save

Smooth Parallax makes it a lot easier to move objects when the page scroll with ease.

v1.1.2

6 years ago

1.1.2

  • Improvement: Extend public method getScrollPercent to return scroll percentage for elements.
  • Fix: issue calculating element's size for SVG on Firefox
  • Fix: position calculation to 2 decimals precision for better performance.
  • Fix: scroll percent calculation based on containerSize.

v1.1.1

6 years ago

1.1.1

  • Fix npm package.json info.

v1.1.0

6 years ago

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.

v1.0.0

6 years ago

Initial release.