泪划痕
Best viewed in Google Chrome

2011年6月6日星期一

能移动的标题

给YikMei的教程 =)
 如图,标题会移动……

信息中心 - 设计 - 添加小工具 - HTML /JAVASCRIPT

copy以下的代码paste到HTML /JAVASCRIPT

<script type="text/javascript">
//Created by Title bar Maker (http://www.bosiljak.hr/titlemaker)
function tb1_makeArray(n){
this.length = n;
return this.length;
}

tb1_messages = new tb1_makeArray(1);
tb1_messages[0] = "你要输入的文字";
tb1_bln = 0;
tb1_rptType = 'infinite';
tb1_rptNbr = 5;
tb1_speed = 350;
tb1_counter=1;
tb1_timer = null;
tb1_last = 1;
tb1_st='';
tb1_currMsg = 0;
function tb1_scrolltitle(){
if (tb1_last > tb1_messages[tb1_currMsg].length){
if (tb1_st.length == 0){
tb1_last=1;
if (tb1_currMsg == tb1_messages.length-1){
if ((tb1_rptType == 'finite') && (tb1_counter==tb1_rptNbr)){
clearTimeout(tb1_timer);
return;
}
tb1_counter++;
tb1_currMsg=0;
}
else{
tb1_currMsg++;
}
}
else{
tb1_st=tb1_st.substring(1,tb1_st.length);
}
}
else{
tb1_st = tb1_messages[tb1_currMsg].substring(0, tb1_last);
for (var i=0; i<=(tb1_bln+tb1_messages[tb1_currMsg].length-tb1_last); i++)
tb1_st="_"+tb1_st;
tb1_last++;
}
document.title = tb1_st;
tb1_timer = setTimeout("tb1_scrolltitle()", tb1_speed);
}
tb1_scrolltitle();
</script>

*红色字体就是输入你的标题


保存 ,完成 =)


我的话:
这几天很忙+开始懒,你们的教程我会尽快发出来,耐心等等 =)

36 道泪痕:

xxxxxxxx 说...

请问下旁边的图按怎么放啊?

独泪 说...

旁边的哪个图案?

啊歆 说...

use=]

LuiJingWen 说...

怎样不要一开始的"_____"??

独泪 说...

孜歆=痴心XD
哈哈xD

-alicie-
那个你也可以到官方网站自行弄的哦=)
http://www.bosiljak.hr/titlemaker
不会的话我可以写一篇教程给你 =)

LuiJingWen 说...

怎样不要拿个"__________"

Unknown 说...

谢谢 thks

独泪 说...

-alicie-
那个你也可以到官方网站自行弄的=)
http://www.bosiljak.hr/titlemaker

痛泪
不客气 =)

Tang Life . 说...

谢谢 ^_^

♥ween♥ 说...

♥ 独泪 :D 鞋鞋哒 `♥

独泪 说...

Xuan Cai Xuan
不客气 ^_^

♥ween♥
哈哈,不客气 ♥ :D

♥ween♥ 说...

哈哈 ^^ 好滴:D

独泪 说...

♥ween♥
哈哈,^^

匿名 说...

拿。:D

瓶子女孩 说...

谢谢你~~

独泪 说...

Cc
好的,谢谢通知^^

xiu
不客气^^

匿名 说...

谢谢丫~~ ^.^

Ɔαƨƨαи∂яα 蜜 糖 说...

拿走咯、很好用也

Nyi 说...

Happy ~ :DD

C7 说...

弄到了,谢谢你的教程!

匿名 说...

弄到了,谢谢你

мσκα cнσиɢ♥ ジ 说...

拿走噜` 谢谢你丫 ;)) ♥

Chocolate 叶 鏸 䭲 说...

抱走咯..^^

茗天蕙更好=) 说...

成功了 thanks=)

匿名 说...

偷走去>.<

可芊 ♥ 说...

谢谢伱~
我使用了 =)

戀夜 说...

Borrow ^^ thx

Laichii 说...

拿了 :)) 谢谢

Ke Sin 说...

thankssss!^^

Andy_Winnie 说...

那走囖、谢谢:)

阁葵爱 说...

很清楚=W=
谢谢丫

Unknown 说...

我成功了^^ 谢谢恩 ^^

Jc ¤ Yong 说...

拿走咯,谢谢你:)

Unknown 说...

带走咯~谢谢

沉睡の小孩 说...

悄悄带走XD

Ring 说...

抱走

发表评论