한국어
<!-- 把下列代码放到<head>区域中--> <SCRIPT LANGUAGE="JavaScript"> if (document.all) { yourLogo = "建站school院欢迎您的光临"; logoFont = "형체"; 로고색상 = "000000"; yourLogo = yourLogo.split(''); L = yourLogo.length; TrigSplit = 360 / L; Sz = new Array() logoWidth = 100; 로고 높이 = -30; ypos = 0; xpos = 0; 단계 = 0.03; 현재 단계 = 0; document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i = 0; i < L; i++) { document.write('<div id="ie" style="position:absolute;top:0px;left:0px;' +'width:10px;height:10px ;font-family:'+logoFont+';font-size:12px;' +'color:'+logoColor+';text-align:center">'+yourLogo[i]+'</div>'); } document.write('</div></div>'); function Mouse() { ypos = event.y; xpos = event.x - 5; } document.onmousemove=마우스; function animateLogo() { external.style.pixelTop = document.body.scrollTop; for (i = 0; i < L; i++) { ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180); 즉[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180); Sz[i] = ie[i].style.pixelTop - ypos; if (Sz[i] < 5) Sz[i] = 5; 즉[i].style.fontSize = Sz[i] / 1.7; } currStep -= 단계; setTimeout('animateLogo()', 20); } window.onload = animateLogo; } </script>