public
Last active

my oldest javascript i could find

  • Download Gist
gistfile1.html
HTML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<script>
 
var Vpos = document.body.clientHeight - 100;
function Video(){
Vpos = Vpos - 10;
document.all.EF.style.top = Vpos;
if (Vpos < -100){
Vpos = document.body.clientHeight -100;
document.all.EF.style.top = -100;
window.clearInterval(VEF);
window.setTimeout('StartVideo()', Math.random()*10000);
}
}
 
function StartVideo(){
VEF = window.setInterval('Video()',10);
}
 
window.setTimeout('StartVideo()', Math.random()*10000);
 
</script>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.