温柔网

 找回密码
 注册
温柔网 文章 电脑技巧 常用软件 查看内容

让IE浏览器的标题条文字动起来?

2010-6-6 19:34| 发布者: jiama| 查看: 184| 评论: 0

摘要:   在网页的 head/head 之间加入以下 VbScript 脚本即可: Script language="vbscript" msg="十万个为什么-计算机应用技巧大全" l=len(msg) i=l-3 sub movetitle() title=right(msg,l-i)+left(msg,i) top.docum ...
  在网页的 <head></head> 之间加入以下 VbScript 脚本即可:
      <Script language="vbscript">
       msg="十万个为什么-计算机应用技巧大全" 
       l=len(msg)
       i=l-3
       sub movetitle()
        title=right(msg,l-i)+left(msg,i)
        top.document.title=title
        i=(i+1) mod l
      end sub
      speed = 10 '毫秒
      a=setInterval("movetitle()",speed)
     </Script>

最新评论

    24小时排行

      QQ|Archiver|手机版|小黑屋|温柔网 ( 浙ICP备13033583号-8 )

      GMT+8, 2026-4-18 06:17 , Processed in 0.026328 second(s), 21 queries .

      Powered by Discuz! X3.4

      Copyright © 2001-2021, Tencent Cloud.

      返回顶部