상태표시줄에 원하는 텍스트 왔다 갔다 > 이십년전오늘

이십년전오늘

20년전의 흑역사를 꺼내보자 ㅋ

상태표시줄에 원하는 텍스트 왔다 갔다 정보

기타 상태표시줄에 원하는 텍스트 왔다 갔다

본문

<head> </head> 사이에 아래 소스 입력

<script language="JavaScript">
<!--

var hellotext="원하는 글자"
var started=false
var step=0
var times=1

function textani()
{
times--
if (times==0)
{
if (started==false)
{
started = true;
window.status = hellotext;
setTimeout("anim()",1);
}
thetext = hellotext;
}
}

function anim()
{
step++
if (step==3) {step=1}
if (step==1) {window.status='v(@,.@) '+thetext+' (@,.@)v'}
if (step==2) {window.status=' v(@,.@) '+thetext+' (@,.@)v '}
setTimeout("anim()",500);
}

// -->
</script>

[이 게시물은 관리자님에 의해 2003-08-11 14:21:11 공부할까요?(으)로 부터 이동됨]
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로