Javascript page scrolls automatically up and down

I’m struggling with a challenge that is just a bit out of my skill range. I’m trying to make a page scroll (very slowly) up and down on an infinite loop. I got the code to loop once, but my challenge is to make it loop over and over again. I would love advice.

do {
$(document).ready(function(){
     $('body,html').animate({scrollTop: 2650}, 57820);
  
});

$(document).ready(function(){
     $('body,html').animate({scrollTop: 0}, 35000);
  
});
}
while (true === true);

126 thoughts on “Javascript page scrolls automatically up and down”

  1. Pingback: keto flan
  2. Pingback: sildenafil 50mg
  3. Pingback: viagra canada
  4. Pingback: sildenafil viagra
  5. Pingback: viagra 800mg price
  6. Pingback: cialis prices
  7. Pingback: viagra 100mg
  8. Pingback: cialis samples
  9. Pingback: real viagra
  10. Pingback: sildenafil 20 mg
  11. Pingback: viagra cheap
  12. Pingback: compra viagra
  13. Pingback: viagra connect
  14. Pingback: doctor x viagra
  15. Pingback: viagra pill
  16. Pingback: viagra tablet
  17. Pingback: viagra cock
  18. Pingback: brand viagra
  19. Pingback: viagra and cialis
  20. Pingback: viagra online
  21. Pingback: cialis or viagra
  22. Pingback: teva sildenafil
  23. Pingback: cialis drug

Leave a Comment