CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 68: | Line 68: | ||
function scrollTillTop(){ | function scrollTillTop(){ | ||
var j=0; | var j=0; | ||
− | myVar = setInterval(function(){ | + | myVar = setInterval(function(){ j += 1; scrollBy(0,-10); console.log(j); if(j == 150) myStopFunction(); }, 2); |
} | } | ||
Revision as of 14:09, 12 August 2017