상태바에 글씨 써졌다,지워졌다
head사이에 <script language=JavaScript> <!-- 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()",1000);} else {window.setTimeout("dis()",50);} } dis() // --> </script> |
'컴퓨터-유용한팁 > 스크립트' 카테고리의 다른 글
링크 마우스 오버시 그라디언트효과 (0) | 2015.09.07 |
---|---|
카운트 다운 소스(정해진날) (0) | 2015.09.07 |
플래시를 랜덤하게 나타내기 (0) | 2015.09.07 |
이미지 싸이즈대로 새창띄우고 클릭하면 창닫기 (0) | 2015.09.07 |
아이프레임 싸이즈 자동조절 (0) | 2015.09.07 |