网页特效一“码”当先 炽热文字
?牐牻韵麓爰尤際EML的head和/head之间即可实现:
?牐?<style>
?牐?<!--
?牐?#glowtext{
?牐爁ilter:glow(color=red,strength=2);??
?牐爓idth:100%;
?牐爙
?牐?-->
?牐?</style>
?牐?<script language=“JavaScript1.2”>
?牐爁unction glowit(which){??
?牐爄f (document.all.glowtext[which].filters[0].strength==2)
?牐燿ocument.all.glowtext[which].filters[0].strength=1
?牐爀lse
?牐燿ocument.all.glowtext[which].filters[0].strength=2
?牐爙
?牐爁unction glowit2(which){??
?牐爄f (document.all.glowtext.filters[0].strength==2)
?牐燿ocument.all.glowtext.filters[0].strength=1
?牐爀lse
?牐燿ocument.all.glowtext.filters[0].strength=2
?牐爙
?牐爁unction startglowing(){
?牐爄f (document.all.glowtext&&glowtext.length){
?牐爁or (i=0;i<glowtext.length;i++)
?牐爀val('setInterval(“glowit('+i+')”,150)')
?牐爙
?牐爀lse if (glowtext)
?牐爏etInterval(“glowit2(0)”,150)
?牐爙
?牐爄f (document.all)
?牐爓indow.onload=startglowing
?牐?</script>
?牐犜俳韵麓爰尤氲紿EML的<body></body>之间适当的位置:
?牐?<span id=“glowtext”>蓝色沙漠之家(这里是要显示的文字)</span>
?牐牐?