Home > Web Front-end > JS Tutorial > body text

Js text background line like running water special effect_text special effect

WBOY
Release: 2016-05-16 18:44:11
Original
2278 people have browsed it

[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
]<script>var message="脚本之家是一个专业的收集各类脚本学习资料的网站 jb51.net" var n=0; if (document.all){ document.write('<font size="12px" color="#006666">') for (m=0;m<message.length;m++) document.write('<span id="neonlight" style="font-size:12px">'+message.charAt(m)+'') document.write('') var tempref=document.all.neonlight } else document.write(message) function neon(){ if (n==0){ for (m=0;m<message.length;m++) tempref[m].style.color="#006666" } tempref[n].style.color="#3fadc7" if (n<tempref.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",1500) return } } function beginneon(){ if (document.all) flashing=setInterval("neon()",23) } beginneon() </script>
Related labels:
js
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template