아래 그림과 같이 :
<! 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> 열정 웹 게임 </title> </head> <cript type = "text/javaScript" "uTf-8" " 게임 ... ". Split (" "); 경고 ( "OK"); 함수 func () {s.push (s [0]); s.shift (); // 배열 문서의 첫 번째 요소를 제거합니다 .title = s.join ( ""); } setInterVal (func, 1000); // 시간 간격을 실행하도록 설정 </script> <boty> </boty> </html>위의 JavaScript-HTML 제목 스크롤 효과의 간단한 구현은 내가 공유하는 모든 컨텐츠입니다. 나는 당신이 당신에게 참조를 줄 수 있기를 바랍니다. 그리고 당신이 wulin.com을 더 지원할 수 있기를 바랍니다.