jQuery-Parallax icon indicating copy to clipboard operation
jQuery-Parallax copied to clipboard

Update jquery.parallax-1.1.3.js

Open AxelBriche opened this issue 11 years ago • 0 comments

Rename parameter and change position.

New JS (load before body element) for auto-load all parallax elements:

$(document).ready(function(){ $('.ab-parallax').each(function() { xpos = $(this).attr('parallax-xpos'); ypos = $(this).attr('parallax-ypos'); speed = $(this).attr('parallax-speed'); $(this).parallax(xpos, ypos, speed); }); })

And new usage in html :

Please update documentation if you approve my work :)

AxelBriche avatar Oct 19 '14 17:10 AxelBriche