文字特效

      网页类学习笔记 2005-8-11 2:17
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0049)http://www34.websamba.com/chenchuangshen/body.asp -->
<HTML><HEAD><TITLE>个人主页</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<SCRIPT>
<!--
var from = 5;
var to = 50;
var delay = 5;
var glowColor = "lime";
var i = to;
var j = 0;


function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}

if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}


}

function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}

if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}

//-->
</SCRIPT>


<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0
marginheight="0" marginwidth="0" >
<TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
<TBODY>
<TR>
<TD width="50%" bgColor=#ffffff><SPAN id=theText style="WIDTH: 100%" onClick="textPulseDown(); ">个人主页
</SPAN></TD>
</TR></TBODY></TABLE>

</BODY></HTML>

标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}