How to automatically scroll in the page using javascript?

0

I'm developing a screen where I have a step by step and I use slideUP and slideDown to close and open the divs related to them.

How do I scroll down the page automatically when I scroll down one?

    
asked by anonymous 02.06.2017 / 15:39

1 answer

0

Try to use this JavaScript function when doing the last step of the screen.
window.scrollTo(xpos, ypos);
 Ex: function onFinish(){ window.scrollTo(40, 0); }

    
02.06.2017 / 16:05