scrollTo(pos) or scrollTo(page) #32

Open
vacatoro opened this Issue Jun 24, 2012 · 1 comment

Projects

None yet

1 participant

@vacatoro

Hi,

Is there a way to make the scrollable div scroll to a certain position and/or page? E.g. for a menu to scroll to a certain page.
I tried to animate the webkit-transform property but it didn't work. I also looked at the full source but didn't really get anywhere.
If you could point me in the right direction that would be great.

Thanks!

@ghost
ghost commented Jul 19, 2012

Me too ! Actually in the past I was resetting the scrollbar in some specific case.
To do it, I was resetting the scrollable_vertical variable to 0 and setting the style to webkit-transform: translate3d( 0, 0, 0 );
Now it's using dynamic css generation if I got it, but I would like to reset in an "elegant" maner.
Where is the ideal location code to hack / customize ? Thank you in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment