Home > Web Front-end > JS Tutorial > Script effect for displaying welcome message in status bar_Status effect

Script effect for displaying welcome message in status bar_Status effect

WBOY
Release: 2016-05-16 19:16:08
Original
1163 people have browsed it

[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
]<script> <!-- function Helpor_net(seed) { var m1 = "欢迎您来到★脚本之家★,请多提意见。谢谢! !" ; var m2 = "" ; var msg=m1+m2; var out = " "; var c = 1; var speed = 330; if (seed > 100) { seed-=2; var cmd="Helpor_net(" + seed + ")"; timerTwo=window.setTimeout(cmd,speed);} else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { out+=" ";} out+=msg; seed-=2; var cmd="Helpor_net(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,speed); } else if (seed <= 0) { if (-seed < msg.length) { out+=msg.substring(-seed,msg.length); seed-=2; var cmd="Helpor_net(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,speed);} else { window.status=" "; timerTwo=window.setTimeout("Helpor_net(100)",speed); } } } Helpor_net(100); --> </script>
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