zoukankan      html  css  js  c++  java
  • IEtitle闪动效果

    <html>
    <head>
        <meta http-equiv='Content-Type' content='text/html; charset=gb2312'>
        <title>闪动的标题栏特效</title>

        <script type="text/javascript" language="javascript">
            step = 0
            function flash_title() {
                step++
                if (step == 3) { step = 1 }
                if (step == 1) { document.title = '您有新消息!' }
                if (step == 2) { document.title = ' 您有新消息!' }
                setTimeout("flash_title()", 300);
            }
            flash_title()
        </script>

        <script type="text/javascript" language="javascript">
            //        step = 0
            //        function flash_title() {
            //            step++
            //            if (step == 9) { step = 1 }
            //            if (step == 1) { document.title = '◆◇◇◇◇' }
            //            if (step == 2) { document.title = '◇◆◇◇◇' }
            //            if (step == 3) { document.title = '◇◇◆◇◇' }
            //            if (step == 4) { document.title = '◇◇◇◆◇' }
            //            if (step == 5) { document.title = '◇◆◇◇◆' }
            //            if (step == 6) { document.title = '◇◇◇◆◇' }
            //            if (step == 7) { document.title = '◇◇◆◇◇' }
            //            if (step == 8) { document.title = '◇◆◇◇◇' }
            //            if (step == 9) { document.title = '◆◇◇◇◇' }
            //            setTimeout("flash_title()", 300);
            //        }
            //        flash_title()
        </script>

    </head>
    <body>
    </body>
    </html>

  • 相关阅读:
    安全测试 + 渗透测试 Xmind 要点梳理
    Confluence wiki——CentOS6.8搭建详解
    Flask从入门到做出一个博客的大型教程(一)
    基于Cat的分布式调用追踪
    Elastic-job使用及原理
    Jmeter模拟不同带宽
    Mybatis中parameterType、resultMap、statementType等等配置详解(标签中基本配置详解)
    SQLyog Enterprise常用快捷键
    MyBatis 与 Spring Data JPA 选择谁?
    Springboot集成mybatis(mysql),mail,mongodb,cassandra,scheduler,redis,kafka,shiro,websocket
  • 原文地址:https://www.cnblogs.com/shuyu/p/1704331.html
Copyright © 2011-2022 走看看