Code for having wave effect on the text?

Kmandapalli
Posted by Kmandapalli under JavaScript category on | Points: 40 | Views : 448
<HTML>
<HEAD>
<STYLE>
DIV.aFilter {FILTER:PROGID:DXIMAGETRANSFORM.MICROSOFT.WAVE(
strength=7,
freq=3,
lightstrength=100,
add=0,
phase=0);
width: 150px; color: #8080FF;font-size:30px;font-weight:bold;
text-align :Center;
}
</STYLE>
<SCRIPT language="javascript">
function doWave()
{
document.getElementById("myDiv").filters[0].phase += 10;
status = document.getElementById("myDiv").filters[0].phase ;

}
</SCRIPT>
</HEAD>
<BODY OnLoad="window.setInterval('doWave();',100);" >
<DIV CLASS="aFilter" id="myDiv"> http://dotnetfunda.com</DIV>
<br />
<font face="Tahoma"><a target="_blank" href="http://www.dotnetfunda.com/"><span style="font-size: 8pt; text-decoration: none">DotNetFunda</span></a></font>
</BODY>
</HTML>

Comments or Responses

Login to post response