Answer the question
In order to leave comments, you need to log in
ipad + jquery + animation?
Hello, just a question:
I am writing a website for ipad and I need to make a paging effect when I slide with my finger. Everything is fine, the simple code was made simply:
element.animate( {'left': offset}, 'slow', function(){ /*end code*/ }
When sliding, the element moves to the side by the desired offset, looks nice and works well , but!
If you slide your finger not horizontally but with a downward slope, then the safari starts to move the entire site (completely the whole, it has its own container, and it moves it) and the site moves down, and during this action it clogs up JS and drawing, it turns out that the timer it works for itself, changes the css of the elements, but this is not visually visible, because at the moment the animation of the safari itself is working (shifting the site down / up), when the safari animation stops, I only see the result of my work ...
Maybe someone has come across this, maybe someone struggled with such a thing.
If you don't understand, let me know and I'll explain.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question