ÀÚµ¿ üÀΡ ÅØ½ºÆ®¸Þ¼¼Áö ¹Ú½º






<!-- ¼Ò½º´Â ¿©±â¼­ºÎÅÍ...--> <script language="JavaScript"> <!--- var CurrentMsg = 'hello '; function update(msg) { var pad_str=""; n = msg.length; if(n<72) { pad = (73-n)/2; for(var i=0; i<pad; i++) { pad_str+=" "; } } CurrentMsg = pad_str + msg; document.messages.field.value = CurrentMsg; clearTimeout(timer); timer = setTimeout("idleMsg()",2000); } function MakeArray(n) { this.length=n; for(var i = 1; i<= n; i++) { this[i] = ""; } return(this); } var index = 1; var notice_num = 5; var notices = new MakeArray(notice_num); notices[1] = "¾ÆÇÏÄ«Æä¿¡ ¿À½Å°É ȯ¿µÇÕ´Ï´Ù"; notices[2] = "À¯ÀÍÇÑ ½Ã°£ º¸¶÷ÀÖ´Â ½Ã°£"; notices[3] = "¾ÆÇÏÄ«Æä°¡ µå¸³´Ï´Ù"; notices[4] = "Ç×»ó ¸ÚÁø Ä«Æä! Áñ°Å¿î Ä«Æä!"; notices[5] = "¾ÆÇÏ! ÀÌ·±°Íµµ!!¢Ý¢Ý"; var timer = setTimeout('idleMsg()',0); function nochange() { document.messages.field.value = CurrentMsg; } function idleMsg() { update(notices[index++]); if(index>notice_num) { index=1; } } // --> </script> <center> <form name="messages" method="get" onsubmit="return false"> <input type="text" name="field" size="55" onchange="nochange()" onfocus="self.status='this is a javascript info. field'; return true"> </form> <!-- ¼Ò½º´Â ¿©±â±îÁö -->