Simple and tiny JavaScript library that adds parallax animations on any images
This release is a full re-think and re-work of the architecture. simpleParallax now use ES6 classes.
Here what has been done:
simpleparallax.com and the logo have been refreshed by the way.
This is the first beta release of simpleParallax version 5.0.0
Here what has changed since 5.0.0alpha
This is the first alpha release of simpleParallax version 5.0.0
This release fix one major issue and improve performance and stability.
Now even if you have a dozen of parallax images on the same page, they will all get proceed with the same request animation frame. The scripting task has been reduce by 4.
Also, sometime the image went out of its container due to a wrong order of transform CSS. This issue exists since version 1 and give some hard time to solve it.
merge PR#9
🎉🎉 This release remove jQuery dependency and use Vanilla JS and ES6 instead. 🎉🎉
Careful, from now you need to use this syntax:
var images = document.querySelectorAll('.thumbnail');
new simpleParallax(images, {
delay: 0,
orientation: 'down',
scale: 1.30,
overflow: true
});
Old syntax will no work anymore.