蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 http://www.lslnet.com 2006年8月25日 8:28

。。讨论。。文字闪动效果。。

[html]
<style>
<!--
#glowtext{
filter:glow(color=0000ff,strength=2);
width:100%;
}
-->
</style>
<script language="JavaScript1.2">
function glowit(which){
if (document.all.glowtext[which].filters[0].strength==2)
document.all.glowtext[which].filters[0].strength=1
else
document.all.glowtext[which].filters[0].strength=2
}
function glowit2(which){
if (document.all.glowtext.filters[0].strength==2)
document.all.glowtext.filters[0].strength=1
else
document.all.glowtext.filters[0].strength=2
}
function startglowing(){
if (document.all.glowtext&&glowtext.length){
for (I=0;I<glowtext.length;I++)
eval('setInterval("glowit('+I+')",150)')
}
else if (glowtext)
setInterval("glowit2(0)",150)
}
if (document.all)
window.onload=startglowing
</script>


<span id=glowtext><font color=ff0000  face=宋体 style=cursor:hand>哈哈哈哈</font></span>
[/html]

请问该效果。还有那些解决的方法。。。。


---------------------------

发贴前请阅读版规,标题中不可以用全角的字符。你想问什么? - Hutia

。。讨论。。■■文字闪动效果■■。。

怎么没 人发表呢。
太简单了嘛////




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com