Elliott C. Back: Technology FTW!

Longest Page on the Internet?!

Posted in Computers & Technology, Memes, Milestones by Elliott Back on January 21st, 2006.

YOU say that you have the longest page on the internet? Well, let me top that. This page is infinitely long. That’s infinitely longer than whatever the “world’s longest / tallest” page is. This is accomplished with a little javascript that writes 72 pixels or one inch per second that the browser window is open. And it goes on forever:

var dvCount = 1;

function writeDiv(){
var e = document.getElementById(’longestDiv’);
if(!e){} else {
e.innerHTML += ‘<div style="position:absolute; left:’ + (dvCount * 90) + ‘px; width:72px; height:50px; border:1px dashed red;">’ + dvCount++ + ‘</div>’;
}

setTimeout(’writeDiv()’, 1000);
}

writeDiv();

And here is the result:

This entry was posted on Saturday, January 21st, 2006 at 2:38 pm and is tagged with px, lt, browser window. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.

Viewing 19 Comments

 

Trackbacks

(Trackback URL)

close Reblog this comment
blog comments powered by Disqus