CharisKomos (Talk | contribs) (Our Team Page) |
CharisKomos (Talk | contribs) |
||
Line 64: | Line 64: | ||
var myVar; var i=0; | var myVar; var i=0; | ||
function scrollTillBottom() { | function scrollTillBottom() { | ||
− | myVar = setInterval(function(){ i += 1; scrollBy(0,5); console.log(i); if(i == | + | myVar = setInterval(function(){ i += 1; scrollBy(0,5); console.log(i); if(i == 120) myStopFunction(); }, 10); |
} | } | ||
function myStopFunction() { | function myStopFunction() { |
Revision as of 11:18, 12 August 2017