reportermor.blogg.se

Automatic scrolling web page
Automatic scrolling web page









You could perform the entire linking and scrolling operation in JavaScript, but I think that’s a bad idea simply because you’re unnecessarily limiting the number of people that can use your site to those with JavaScript turned on. What if we want to make this a more gradual effect so the user can plainly see that the page is scrolling down?

automatic scrolling web page

There’s no animation at all, the page just jumps right to the anchor upon clicking.

automatic scrolling web page

With HTML, anchor linking works, but the transition is pretty harsh.











Automatic scrolling web page