I have been using this counting script for something else.
But now I want it to count from 0-65535, put those numbers inside small div tags and have those div tags have the background color of the number it is counting.
It would be nice if the div tags went across the page and wrapped like text and started a new row.
Maybe counting that far will use too much memory. If so I can put x amount on one page and more on another and so on.
for(var count=0; count<=65535; count++)
document.write(count + '; = </div>');
document.write('&#' + count + ';');