Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0149)file://C:\Documents%20and%20Settings\Hoai%20An\Local%20Settings\Temporary%20Internet%20Files\Content.IE5\E9HYVU1G\Drng%20chữ vui nhộn.htm -->
<!-- saved from url=(0022)http://internet.e-mail --><HTML><HEAD><TITLE>GK</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY text=#ff0000 bgColor=#00FF00 onload=doWave(0)>
<SCRIPT language=JavaScript>
/*
script edited by GeluKrait (GeluKrait@yahoo.com)
Permission granted to Echip to feature the script
For more DHTML scripts, contact
AsSaSsIn@mail2phoenix.com*/
//put your text here
var theText = "HVF hiencam.vnbb.com";
function nextSize(i,incMethod,textLength)
{
if (incMethod == 1) return (72*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 < text.length; i++)
{
size = parseInt(nextSize(i +dis,method,text.length));
output += "<font style='font-size: "+ size +"pt'>" +text.substring(i,i+1)+ "</font>";
}
theDiv.innerHTML = output;
}
function doWave(n)
{
sizeCycle(theText,1,n);
if (n > theText.length) {n=0}
setTimeout("doWave(" + (n+1) + ")", 50);
}
</SCRIPT>
<DIV id=theDiv align=center></DIV></BODY></HTML>