Prinzhorn / skrollr

Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop. No jQuery. Just plain JavaScript (and some love).
http://prinzhorn.github.io/skrollr/
MIT License
18.53k stars 3.51k forks source link

Simple Skrollr - any other jQuery animation conflict #838

Open vieckowski opened 7 years ago

vieckowski commented 7 years ago

Hi,

Skrollr is amazing. However as a beginner I've faced some problem that seems to be some obvious detail I'm missing here which doesn't let me create any other, regular jQuery animation. Below there's a link to the test side:

www.vieckowski.com/test

Simply. Wether I remove the Skrollr driven section from index.html I can animate the green element height by clicking the white button. If I place the Skrollr driven section back, jQuery stops working with these type of animations.

Btw, I use this to animate element:

$(".one_in").click(function(){ $(".two").animate({"height":"200px"}) });

I'd be VERY, VERY gratefull for help - my whole project depends on this issue !!!!!!!!

All the best,

Simon