자바소스 좀 해석해주세요 !! [내공검]
-
게시물 수정 , 삭제는 로그인 필요
이 자바소스 해석좀 해주세요 !!
부탁입니다 ㅜㅜ
<script language="javascript">
<!--
var max=0;
function textlist()
{
max=textlist.arguments.length;
for (i=0; i<max; i++) this[i]=textlist.arguments[i];
}
tl=new textlist('안녕하세요','요즘 날씨가 너무 춥습니다','옷 따뜻하게 입고다니세요','본 홈페이지는 무료입니다','궁금한점이나 건의사항은','방명록에 남겨주세요');
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+'_';
if(pos++==l) {pos=0; setTimeout('textticker()',1000);x++;
if(x==max) x=0; l=tl[x].length; }
else
setTimeout('textticker()',100);
}
//-->
</script>
<form name="tickform">
<font color="#000000"><input type="text" name="tickfield" size="40" style="background-border:1 solid black;">
</font></form>
이 자바소스 해석좀 해주세요 !!
부탁입니다 ㅜㅜ
<script language="javascript">
<!--
var max=0;
function textlist()
{
max=textlist.arguments.length;
for (i=0; i<max; i++) this[i]=textlist.arguments[i];
}
tl=new textlist('안녕하세요','요즘 날씨가 너무 춥습니다','옷 따뜻하게 입고다니세요','본 홈페이지는 무료입니다','궁금한점이나 건의사항은','방명록에 남겨주세요');
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+'_';
if(pos++==l) {pos=0; setTimeout('textticker()',1000);x++;
if(x==max) x=0; l=tl[x].length; }
else
setTimeout('textticker()',100);
}
//-->
</script>
<form name="tickform">
<font color="#000000"><input type="text" name="tickfield" size="40" style="background-border:1 solid black;">
</font></form>