Relaxing with JQuery

The attenuate function seems to be not working with my parallax. Trying to make the board a little cleaner. Any help would be greatly appreciated. Sorry I'm new here and whenever I try to post my code it tells me I can't have an image. I put this on my host.

http://cheapramen.com/JQuery/skate/moveit.html

+2


source to share


1 answer


Animations in jquery run asynchronously, so they can use other functions that manipulate the animation timeline, i.e. facilitate functions.

Having said that, AFAIK, this version does not use the parallax plugin jquery animation (for example, .animate()

, .fadeTo()

et al.), Instead it translates your own animation function. This is why you cannot use a relaxation plugin like you do in your code.



You can play with the values โ€‹โ€‹for $.fn.jparallax.settings.frameDuration

(default 25) and see if that makes the animation smoother ...

+1


source







All Articles