- 3/5
- 1
- 2
- 3
- 4
- 5
织梦DedeCMS视频教程买空间 租服务器 选网硕互联! 无忧站长工具,百度权重一键全查!
在网页标题栏显示可爱的闪烁文字特效,比较常用的网页效果,直接复制代码就可以用。
<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="==>/"} } 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>