javascript - Is it possible to make a smooth scroll to part of a webpage, even if the scrolling is disabled? -


i have used js stop scrolling:

<script> window.onscroll = function () { window.scrollto(0,0); } </script> 

added css too:

body{ overflow:hidden; width:100%; height:100%; } 

the main part of webpage lies in 100% height. , other part ("a") lies below screen.


all need smooth scroll part ("a") of page on click @ anchor. still not making page scroll able arrow keys.

view image please !! link

the blog - "http://gaulifancy.blogspot.com" when click "get down deeper" should scroll down smoothly.
note: page made scroll less.

have tried move containers translatey view? codepen example of site great you.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -