<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Hello,World!</title> </head> <body> <script type="text/javascript"> function scroll() { var titleInfo = document.title; var firstInfo = titleInfo.charAt(0); var lastInfo = titleInfo.substring(1, titleInfo.length); document.title = lastInfo + firstInfo; } setInterval("scroll()", 500); </script> </body> </html>
时间: 2024-10-11 05:34:12