Create a gist now

Instantly share code, notes, and snippets.

my oldest javascript i could find
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment