ÀÔ·ÂÆû¾È¿¡ ¿øÇÏ´Â ±ÛÀÚ¸¦ ŸÀÌÇÎ Ä¡µíÀÌ Ãâ·ÂÇÕ´Ï´Ù.
Script Example |
<HTML> <HEAD> <TITLE>Æû¾È¿¡¼
ŸÀÌÇÎ</TITLE> <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.form1.textfeld.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()",50);
}
--> </script> </HEAD>
<BODY onload="textticker()">
<CENTER> <form name="form1"><input
type=textarea name="textfeld" size="30"></form>
</center> </body>
</html> |
|
|
¼³¸í |
ÆĶõ»ö ºÎºÐ¿¡¼ ¿øÇÏ´Â ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä |
|
|
|
|