最新闪烁的标题栏_JS特效源代码

以下是三零网为大家整理的最新闪烁的标题栏_JS特效源代码的文章,希望大家能够喜欢!


<script language=javascript > 
title_tmp1=document.title 
if (title_tmp1.indexOf(">>")!=-1){ 
title_tmp2=title_tmp1.split(">>"); 
title_last=" —> "+title_tmp2[1]; 
title_last=title_last + " —> " + title_tmp2[2]; 
}else{ 
if (title_tmp1.indexOf("——")!=-1){ 
title_tmp2=title_tmp1.split("——"); 
title_last=" —> "+title_tmp2[1]; 
if (title_last==" —> "){title_last=" —> "}; 
if (title_last==" —> "){title_last=" —> "}; 

else { title_last="(http://www.*.com/)"} 

title_new="电脑维护网"+title_last+"欢迎您的光临!!!" //中间的标题 
step=0 
function flash_title() 

step++ 
if (step==7) {step=1} 
if (step==1) {document.title='★☆☆☆'+title_new+'☆☆☆★'} 
if (step==2) {document.title='☆★☆☆'+title_new+'☆☆★☆'} 
if (step==3) {document.title='☆☆★☆'+title_new+'☆★☆☆'} 
if (step==4) {document.title='☆☆☆★'+title_new+'★☆☆☆'} 
if (step==5) {document.title='☆☆★☆'+title_new+'☆★☆☆'} 
if (step==6) {document.title='☆★☆☆'+title_new+'☆☆★☆'} 
setTimeout("flash_title()",180); 

flash_title() 
</script> 


转载来自:http://www.q3060.com/list3/list115/323.html