寂寞 发表于 2009-10-16 10:17

荡漾文字?!

寂寞 发表于 2009-10-16 10:25

<html>
<head>
<title>
荡漾文字
</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">

</head>
<body>
<div id=\"Zittertext\" style=\"width:100%; font-size:42pt; font-weight:bold; color:yellow;
filter:Wave(freq=15, light=2, phase=8, strength=5);\">
跟着试一下
</div>
<script language=\"JavaScript\">
<!--
function DynWave()
{
if(document.all.Zittertext.filters.freq > 30)
   document.all.Zittertext.filters.freq = 15;
document.all.Zittertext.filters.freq += 1;
if(document.all.Zittertext.filters.phase > 80)
   document.all.Zittertext.filters.phase = 11;
document.all.Zittertext.filters.phase += 1;
if(document.all.Zittertext.filters.strength > 1)
   document.all.Zittertext.filters.strength = 1;
document.all.Zittertext.filters.strength += 1;
window.setTimeout(\"DynWave()\",50);
}
DynWave();
// -->
</Script>
</body>
</html>

音乐精灵 发表于 2009-10-17 19:56

跟3楼朋友想的一样,想偷代码试下换图片啥效果,嘿嘿。。

tonehe 发表于 2009-10-17 20:41

</head>
<body>
<div id=\"Zittertext\" style=\"width:100%; font-size:42pt; font-weight:bold; color:Green;
filter:Wave(freq=15, light=2, phase=8, strength=5);\">
謝謝roger01rao版主,
 <br>学习了!!
</div>
<script language=\"JavaScript\">
<!--
function DynWave()
{
if(document.all.Zittertext.filters.freq > 30)
   document.all.Zittertext.filters.freq = 15;
document.all.Zittertext.filters.freq += 1;
if(document.all.Zittertext.filters.phase > 80)
   document.all.Zittertext.filters.phase = 11;
document.all.Zittertext.filters.phase += 1;
if(document.all.Zittertext.filters.strength > 1)
   document.all.Zittertext.filters.strength = 1;
document.all.Zittertext.filters.strength += 1;
window.setTimeout(\"DynWave()\",50);
}
DynWave();
// -->
</Script>
</body>
</html>

天涯寻梦人 发表于 2010-1-30 01:07

收藏~感谢朋友!我想,这个代码也能加在图片上,做水波。

半月沉江 发表于 2010-3-1 08:23

学习`````!!!!!!!!!!!!!!!

蝴蝶 发表于 2010-3-1 08:54

看看怎么做的,嘿嘿!

蝴蝶 发表于 2010-3-1 09:50

<html>
<head>
<title>
荡漾文字
</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">

</head>
<body>
<div id=\"Zittertext\" style=\"width:100%; font-size:42pt; font-weight:bold; color:red;
filter:Wave(freq=15, light=2, phase=8, strength=5);\">
谢谢楼主
</div>


为什么不动啊?5555
<script language=\"JavaScript\">
<!--
function DynWave()
{
if(document.all.Zittertext.filters.freq > 30)
   document.all.Zittertext.filters.freq = 15;
document.all.Zittertext.filters.freq += 1;
if(document.all.Zittertext.filters.phase > 80)
   document.all.Zittertext.filters.phase = 11;
document.all.Zittertext.filters.phase += 1;
if(document.all.Zittertext.filters.strength > 1)
   document.all.Zittertext.filters.strength = 1;
document.all.Zittertext.filters.strength += 1;
window.setTimeout(\"DynWave()\",50);
}
DynWave();
// -->
</Script>
</body>
</html>

[ 本帖最后由 蝴蝶 于 2010-3-1 10:00 编辑 ]

云风清 发表于 2010-3-10 23:33

回帖学习学习

枫桥E梦 发表于 2010-3-12 13:51

回复 1# 的帖子

来学习一下
页: 1 2 3 4 5 6 7 [8] 9 10 11
查看完整版本: 荡漾文字特效