🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

mkParallax is a super small jQuery plugin that applies a smooth, performance, scroll-triggered parallax effect to background images.

parallax scrolling

Documentation

mkParallax


jquery parallax

Backgroud parallax image, work with mobile devices

Example using mkParallax

Just add the js file before your closing tag add:

<script type="text/javascript" src="js/mkParallax.js"></script>

How to use

First create your container

<div id="myparallex" data-image="img/my-parallax-image.jpg"> 	     .......... 			 </div> 

and JQuery script

$( document ).ready(function() {

$("#myparallex").mkParallax(); 

});

License

Copyright (c) 2017 Mokrane K

Licensed under the MIT license.


You May Also Like