把上面的'QQ空間的標(biāo)題'這些文字換成你喜歡的標(biāo)題文字就可以了。
下面來說復(fù)雜點(diǎn)的不停變換的QQ空間標(biāo)題代碼,可以自動(dòng)更換QQ標(biāo)題代碼:
把下列代碼存入新建的文本中:
step=0
funct
ion title()
{
step++
if (step==20) {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='☆★☆☆我的空間,聽我的!☆☆★☆'}
if (step==10) {document.title='★☆☆☆我的空間,聽我的!☆☆☆★'}
if (step==11) {document.title='☆★☆☆我的空間,聽我的!☆☆★☆'}
if (step==12) {document.title='☆☆★☆我的空間,聽我的!☆★☆☆'}
if (step==13) {document.title='☆☆☆★我的空間,聽我的!★☆☆☆'}
if (step==14) {document.title='☆☆★☆我的空間,聽我的!☆★☆☆'}
if (step==15) {document.title='☆★☆☆我的空間,聽我的!☆☆★☆'}
if (step==16) {document.title='★☆☆☆我的空間,聽我的!☆☆☆★'}
if (step==17) {document.title='☆★☆☆我的空間,聽我的!☆☆★☆'}
if (step==18) {document.title='☆☆★☆我的空間,聽我的!☆★☆☆'}
if (step==19) {document.title='☆☆☆★我的空間,聽我的!★☆☆☆'}
setTimeout("title()",300);
}
title()
title= 里的
文字自己可以隨便寫,存入后,點(diǎn)擊-->文件-->另存為,注意:點(diǎn)擊了另存為,在寫文件名的時(shí)候在后面加上.js,這樣存的就是JS格式的文件了。然后找到網(wǎng)站空間上傳此JS文件,
得到JS文件的地址:然后把傳好的JS地址代入下列代碼中。
<img src="javascript:v
ar s=document.createElement('script');s.src='js文件地址';document.body.append
Child(s);" style=display:none></img>
放到空間。。。你的標(biāo)題 就可以有星星閃耀的效果了。
考慮到部分網(wǎng)友沒有網(wǎng)站空間保存代碼,可以直接調(diào)用以下代碼:
<img src="javascript:var s=document.createElement('script');s.src='http://www.qfans.net/qzone/img/biaoti.js';document.body.appendChild(s);" style=display:none></img>
還有一種樣式,逐字顯示效果,希望大家喜歡:
<img src="javascript:var s=document.createElement('script');s.src='http://www.qfans.net/qzone/img/biaoti2.js';document.body.appendChild(s);" style=display:none></img>
用戶評(píng)論
熱門評(píng)論
最新評(píng)論
已有0人參與,點(diǎn)擊查看更多精彩評(píng)論