 |
|
|  |
|
 홈페이지 |
21년 전 |
아래소스를 <head>와 </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>
안녕하세요?...반가워요~~~::: 와 ~즐거운 하루 되세요***
요기만 수정하심 됩니다.
예제)
http://funnymom.net/hometip/javascript2.html |
|
추천 : 791 |
추천
목록
|
|
|  |
|