• 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>

  • 相关阅读:
    Node.js Event Loop 的理解 Timers,process.nextTick()
    Ajax关于readyState(状态值)和status(状态码)的研究
    原生 JavaScript 实现 AJAX、JSONP
    Python selenium.webdriver.chrome.options.Options() Examples
    【python】统一转换日期格式dateutil.parser.parse
    python读取doc
    大规模爬虫流程总结
    如何巧妙的利用selenium和requests组合来进行操作需要登录的页面
    使用pandas进行数据清洗
    twilio打电话和发短信
  • 原文地址:https://www.cnblogs.com/shuyu/p/1704331.html
Copyright © 2020-2023  润新知