-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Jquery3 with multiples data-parallax= #8
Comments
It works with jquery 2.x not 3.x :( This is why you get this error with jQuery 3.x |
Okay, so I using Jquery 2.x right now and tried this code :
I need to scroll down my picture to the left in a first time and move it to the right in a second time, the first and second effects works perfectly but the picture disappear to the left during the third effect, do you have any solution ? |
Your code looks a bit mess for me, for example if u wanna move rotating image left when u scroll down 100px and move it back when you scroll up you need smth like:
if u wanna move it left and down same time then just add y as well for same parralax:
|
I tried just this one :
I just need to scroll my picture in two times, move it to 400px vertically in a first time and move it to 600px vertically when I scrolled to 500px but it doesn't work correctly, my picture seem to be moved totally outside of the website. |
Hello,
I have some issues with your plugin on the last version of Jquery (3.1.1 minified), it's not possible to use multiple instances like :
<img data-parallax='{"y": 300, "x": -575, "from-scroll": 10, "easing": "easeOutElastic", "duration": 300, "rotateY":360}' data-parallax2='{"y": 600, "x": 400, "from-scroll": 500, "easing": "easeOutElastic", "duration": 300, "rotateY":360}' class="img-responsive center-block" src="images/logo.png" alt="logo" />
I got this error in debug mode :
Do you have any solution ?
Thank you very much for your work.
Regards,
The text was updated successfully, but these errors were encountered: