[Pro] smooth scroll to anchor the reborn

Hi there,

I’m trying to do a one-page site with freeway pro, And I want to use a smooth scroll to navigate. I saw a subject in a thread about that but I really don’t understand it. Is it an issue to control the scroll to an anchor speed ? Thanks for your help


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you use the SmoothScroll Action, there is a picker for the effect duration (in decimal fractions of a second). Now realize that this duration is the same for any scroll, no matter how far it has to travel, so there’s no way to set an absolute “speed limit” for the scrolling effect and have all scroll animations travel at the same rate. The only way for that to be possible would be if we ensure that each jump is relatively the same distance in pixels.

JavaScript animation is somewhat limited in that in order to ensure that an effect will actually finish in a predictable amount of time, the animation script uses timing to completion rather than number of pixels per “frame” (usually 1/60 second, but often longer owing to contention with the browser for updates). I could write an animation effect that did the opposite – moved X pixels per frame until it got where it was going, but this would probably look really odd in your browser, and would look highly variable in different browsers on different (more or less busy) computers.

Walter

On Jun 4, 2013, at 12:13 PM, Blaisy blaise wrote:

Hi there,

I’m trying to do a one-page site with freeway pro, And I want to use a smooth scroll to navigate. I saw a subject in a thread about that but I really don’t understand it. Is it an issue to control the scroll to an anchor speed ? Thanks for your help


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ok thanks for the answer


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options