terça-feira, 15 de junho de 2010
sábado, 12 de junho de 2010
function nextSize(i,incMethod,textLength){
if (incMethod == 1) return (30*Math.abs( Math.sin(i/(textLength/3.14))) );
if (incMethod == 2) return (255*Math.abs( Math.cos(i/(textLength/3.14))));}
function sizeCycle(text,method,dis){
output = "";
for (i = 0; i < class="Apple-tab-span" style="white-space:pre"> {
size = parseInt(nextSize(i +dis,method,text.length));
output += "" +text.substring(i,i+1)+ "";
}
theDiv.innerHTML = output;}
function doWave(n) {
theText = "Grand Chase é Demais";
sizeCycle(theText,1,n);
if (n > theText.length) {n=0}
setTimeout("doWave(" + (n+1) + ")", 70);}

