DISPLAY ALPHABETS
by Ashenvale Poring
HTML
<div id="contents"></div>
CSS
body {
word-break: break-all;
}
JavaScript
var overload = (function (){
var content = {
alphabet : [],
counter : 0,
init: function (){
this.getChars();
},
getChars: function(type) {
this.getAlphabet();
},
getAlphabet: function(){
this.alphabet = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' ];
for(var i = 0; i < 3000; i++)
{
$('#contents').append(this.alphabet[14]);
this.counter++;
if(this.counter > 26) this.counter = 0;
}
}
}
return content.init();
})();