<Html>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Title> front-end development Note greetings @ hnyei, text that makes you feel heartbeat </title>
</Head>
<Body>
<Style>
<! --
# Glowtext {filter: glow (color = ff0000, 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 = "F5D20A" face = "" size = "2"> html div + CSS @ hnyei </span>
</Body>
</Html>
From hnyei-WEB Front-end design experience