상태표시줄에 원하는 텍스트 왔다 갔다 정보
기타 상태표시줄에 원하는 텍스트 왔다 갔다본문
<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 공부할까요?(으)로 부터 이동됨]
<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 공부할까요?(으)로 부터 이동됨]
댓글 전체
^0^