Parallax Scroll jQuery CSS3 UIparalax - Download Easy Parallax Scroll Plugin With jQuery And CSS3 - UIparalax

Download Easy Parallax Scroll Plugin With jQuery And CSS3 – UIparalax

Posted on

This time I will share jQuery Plugin and tutorial about Easy Parallax Scroll Plugin With jQuery And CSS3 – UIparalax, hope it will help you in programming stack.

Parallax Scroll jQuery CSS3 UIparalax - Download Easy Parallax Scroll Plugin With jQuery And CSS3 - UIparalax
File Size: 88.4 KB
Views Total: 2637
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

The UIparalax jQuery plugin utilizes CSS3 3D transforms to create smooth parallax scrolling effects on single or multiple DOM elements.

You can also config the plugin to enable/disable the parallax scrolling effects on certain devices such as desktop, mobile, tablet.

How to use it:

1. Place the jQuery UIparalax plugin’s script paralax.js after jQuery library (slim build).

2         integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
3         crossorigin="anonymous"></script>
4 <script src="js/paralax.js"></script>

2. Wrap your element to the parallax container like this:

1 <div class="paralax-comtainer demo UIparalax">
2   <div class="paralax__item">
3     <img src="parallax.jpg" alt="">
4   </div>
5 </div>

3. Enable the parallax scrolling effect on the element.

1 $('.demo').UIparalax([{
2   // options here
3 }]);

4. You’re able to enable the parallax scrolling effect on multiple elements as these.

01 <div class="paralax-comtainer demo1 UIparalax">
02   <div class="paralax__item item1">
03     <img src="1.jpg" alt="">
04   </div>
05   <div class="paralax__item item2">
06     <img src="2.jpg" alt="">
07   </div>
08   <div class="paralax__item item3">
09     <img src="3.jpg" alt="">
10   </div>
11   ...
12 </div>
1 $('.demo').UIparalax([{
2   // options for element 1
3 }, {
4   // options for element 2
5 }, {
6   // options for element 3
7 }]);

5. To disbale/enable the parallax scrolling effect on certain devices:

01 $('.demo').UIparalax([{
02   // options for element 1
03 }, {
04   // options for element 2
05 }, {
06   // options for element 3
07 }], {
08   desktop: true,
09   smallscreen: true,
10   tablet: false,
11   phone: false
12 });

6. Config the scroll position for each elements.

01 $('.demo').UIparalax([{
02   whence: 'top',
03   koef: 0.1
04 }, {
05   whence: 'top',
06   koef: -0.5
07 }, {
08   whence: 'top',
09   koef: 0.2
10 }], {
11   desktop: true,
12   smallscreen: true,
13   tablet: false,
14   phone: false
15 });

This awesome jQuery plugin is developed by wallwhite. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net