江西省国防科技工业学校9846班

网会阁

当前位置: 本站首页 > HTML网页特效

06炽热的文字特效

时间:2024-10-28 16:22来源:未知 作者:admin 点击:
html head title炽热的文字特效/title style type="text/css" !-- body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px} A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECOR

<html>


<head>


<title>炽热的文字特效</title>


<style type="text/css">


<!--


body {  font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}


A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }


A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }


a:active     { font: 9pt "宋体"; cursor: hand; color: #FF0033 }




-->


</style>


<meta http-equiv="Content-Type" content="text/html; charset=gb2312">


<style>


<!--


#glowtext{


filter:glow(color=#ff2200,strength=5);


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>






</head>




<body bgcolor="#fef4d9">


<br>


<br>


<center><font color=red face="隶书" size=6>炽热的文字特效(IE) </font></center>


<br>


<center>


<table border=5 bordercolor=blue borderlight=green>


<tr><td align=center><font size=5 color=red face="Arial, Helvetica, sans-serif"><strong>下面为效果显示区!</strong></font></td></tr>


<tr><td width=230 height=100><span id="glowtext">欢迎光临南京有线宽带网网站,请多提意见,谢谢! http://www.njcatv.net         E-mail:baron@njcatv.net</span></td></tr>


</table></center>


<br>


<br>


<center>


<textarea name=source rows=12 cols=45 class=yk9>


脚本说明:


第一步:把如下代码加入<head>区域中


<style>


<!--


#glowtext{


filter:glow(color=red,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>








第二步:把如下代码加入<body>区域中


<span id="glowtext">任意文字</span>


</textarea>


<SCRIPT LANGUAGE="JavaScript">




<!-- hide




function goHist(a)




{




  history.go(a);




}




//-->




</script>




<FORM METHOD="post">


<INPUT TYPE="button" VALUE="返回" onClick="goHist(-1)">


</form>


</center>


<br>


<br>


</body>


</html>

(责任编辑:admin)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
本站页面浏览总量: