CodeHunger / Jarallax

Parallax scrolling library javascript
GNU General Public License v2.0
165 stars 20 forks source link

In Jarallax, how to use jumptoprogress to jump to a specific div? #39

Open sohail07 opened 10 years ago

sohail07 commented 10 years ago

How to jump to a specific div in Jarallax. I am using pyrocms and i have written in the animation.js:

$('.aboutus').click(function(){ jarallax.jumpToProgress( 10, 2000, 30); return false; });

This goes to the end div only. How can I solve this?