网页之奇特的文字变化特效
脚本说明: D&@|W m~v,?boBP6EK`6u
第一步:把如下代码加入<body>区域中 ?|!R+wEg|j
<script language="JavaScript">
function nextSize(i,incMethod,textLength)*SB]:`Gh;P-XR
{
if (incMethod == 1) return (72*Math.abs( Math.sin(i/(textLength/3.14))) );GK:r ?Y(mq
if (incMethod == 2) return (255*Math.abs( Math.cos(i/(textLength/3.14)))); _},^{tvp7T
}%rQvXw9zs#VY9P
xz"BpI
function sizeCycle(text,method,dis)F1a!IX n0c q
{!y"HeRE0X^&@
output = "";
for (i = 0; i < text.length; i++)