效果如图
登入部落格 > 设计 > Edit HTML
按 CTRL + F 寻找
<title><data:blog.pageTitle/></title>
然后在它的后面加入以下的代码
<script>
//Document title scroller- By Graeme Robinson ([email=me@graemerobinson.co.uk]me@graemerobinson.co.uk[/email])//Exlusive permission granted to Dynamic Drive to include this script in their DHTML archive.//For full source code, terms of use visit [url=http://www.dynamicdrive.com]http://www.dynamicdrive.com[/url]
var repeat=1 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1var title=document.titlevar leng=title.lengthvar start=1function titlemove() {titl=title.substring(start, leng) + title.substring(0, start)document.title=titlstart++if (start==leng+1) {start=0if (repeat==0)return}setTimeout("titlemove()",140)}if (document.title)titlemove()</script><b:if cond='data:blog.pageName == ""'><title><data:blog.title/></title><b:else/><title><data:blog.pageName/> | <data:blog.title/></title></b:if>
按 Preview 看看有没有效果
就大功告成了
按 SAVE :D !
如果不喜欢这种单一的 pattern
大家可以去 http://www.bosiljak.hr/titlemaker/ 制作更炫的移动法 ♥
点击图片 |
明白不 ?
登入 Blogger > 设计 > 添加小工具
把代码 paste 进添加小工具
按 save
大功告成 :DD
HELP HELP , Press A Nuffnang For Me ♥
感谢分享 :D
回覆刪除很实用呢,变得更酷了!