As shown below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html;charset=utf-8" http-equiv="content-type"> <title> Passion Web Game</title> </head> <script type="text/javascript" charset="utf-8"> var s=" Passion Web Game...".split(""); alert("OK"); function func(){ s.push(s[0]); s.shift();// Remove the first element of the array document.title = s.join(""); } setInterval(func,1000);//Set the time interval to run</script> <boty></boty> </html>The simple implementation of the above JavaScript-html title scrolling effect is all the content I share with you. I hope you can give you a reference and I hope you can support Wulin.com more.