The text below is generated by increasing the font-size of each character in the phrase by 1 until max-size (7) is reached, then it starts over again at size=1 until the entire phrase is written out.
<script type="text/javascript">
increasingText();
function increasingText(){
var size=1;
var text = "JavaScript to Increment Text One Character at a time";
var temptext=text.toUpperCase();
for (i=0; i < temptext.length; i++){
theLetter = temptext.charAt(i).fontsize(size).bold();
document.write(theLetter);
if (size<7){size++;}
else {size=1;}
}
}
</script>