<head>와 </head>부분에 넣어줍니다. ***************************************** <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var hellotext = "여기는 별사이에 들어갈 내용" var thetext = ""; var started = false; var step = 0; var times = 1; function welcometext() { times--; if (!times) { if (!started) { started = true; window.status = hellotext; setTimeout("anim()", 1); } thetext = hellotext; } } function anim() { step++; if (step==7) step = 1; if (step==1) window.status = '★☆☆☆☆☆ ' + thetext + ' ☆☆☆☆☆★'; if (step==2) window.status = '☆★☆☆☆☆ ' + thetext + ' ☆☆☆☆★☆'; if (step==3) window.status = '☆☆★☆☆☆ ' + thetext + ' ☆☆☆★☆☆'; if (step==4) window.status = '☆☆☆★☆☆ ' + thetext + ' ☆☆★☆☆☆'; if (step==5) window.status = '☆☆☆☆★☆ ' + thetext + ' ☆★☆☆☆☆'; if (step==6) window.status = '☆☆☆☆☆★ ' + thetext + ' ★☆☆☆☆☆' setTimeout("anim()", 200); } // End --> </script> <body>와 </body>부분에 넣어줍니다. ***************************************** <body onload="welcometext()"> |
카테고리 없음