Skip to content

paralax.js

Daniel edited this page Apr 10, 2016 · 1 revision

Paralax JS is a simple Jquery plugin to make paralax with block background-image and inner elements

Using: In JS code write $("yourelementClass").paralax(); to use default setting Or write $("yourelementClass").paralax({'speed','speedval'}); where 'speedval' is an number from 1 to 10

To set up the inner elements weight just add the data-weight attribute into HTML element. data-weight is to just a number from 1 to 10; 1 - light weight and fast, 10 - big weight and slow;

Clone this wiki locally