⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 38.html

📁 javescript网页特效80个例子
💻 HTML
字号:
<html>
<head>
<title>文字的火焰效果</title>
<style>
<!--
#glowtext{
filter:glow(color=red,strength=2); /*设置边缘光晕强度以及光晕颜色 */
width:100%;
}
-->
</style>
<script language="JavaScript">
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+')",100)')  //设置闪烁频率
}
else if (glowtext)
setInterval("glowit2(0)",100)  //设置闪烁频率
}
if (document.all)
window.onload=startglowing
</script>
</head>
<body>
<div id="glowtext"><font size=6>最新F1战报,更多……</font></div>
<div id="glowtext"><font size=6>最新CS战报,更多……</font></div>
<div id="glowtext"><font size=6>最新WC战报,更多……</font></div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -