QQ space and other Flashing Text how to do?

Source: Internet
Author: User

<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
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.