+ 1

Can a webpage be made to scroll automatically?

When using the animate tag with svg shapes, I had to scroll horizontally to keep going along with them. Can I make the webpage scroll along with the shape automatically?

28th Mar 2018, 5:44 PM
Ram Keswani
Ram Keswani - avatar
2 odpowiedzi
+ 4
yeah of course, you can use that: var scroll = setInterval(function(){ window.scrollBy(0,1000); }, 2000); for more: http://scraping.pro/make-web-page-to-auto-scroll-down/
28th Mar 2018, 6:50 PM
Baraa AB
Baraa AB - avatar
+ 1
yes,yes you using jquery you can set the pages $("html").scrollTop=50 e.t.c
28th Mar 2018, 6:22 PM
᠌᠌Code X
᠌᠌Code X - avatar