<head>와 </head>부분에 넣어줍니다. ***************************************** <script> var text1="타자기효과가 나는 상태바... 고급스럽죠? 잘 활용하세요..." comeback=0 cometo=0 function dis(){ window.status=text1.substring(0,cometo) if(comeback==1){ cometo--; if(cometo==0){comeback=0} } else {cometo++;if(cometo==text1.length){comeback=1}} window.status=text1.substring(0,cometo)+"|" if(cometo==text1.length){window.setTimeout("dis()",500);} else {window.setTimeout("dis()",50);} } dis() </script> |
카테고리 없음