ŸÀÌÇÎ ÀÔ·ÂÆû







<!-- ¼Ò½º´Â ¿©±â¼­ºÎÅÍ...±ÛÀÚ¸¸ ¹Ù²Ù½Ã°í ÀÌ¿ëÇÏ½Ã¸é µË´Ï´Ù--> <SCRIPT LANGUAGE="JavaScript"> <!-- var speed = 100 // decrease value to increase speed (must be positive) var pause = 1000 // increase value to increase pause var numLines = 2 // number of maximum number of lines var timerID = null var bannerRunning = false var ar = new Array() ar[0] = "¾ðÁ¦ºÎÅÍÀΰ¡ ¿ì¸®°¡ ¸¸³ª´Â »ç¶÷µéÀº ÁöÃÄ ÀÖ¾ú´Ù" ar[1] = "¸ðµÎµé Àλ縻ó·³ ¹Ù»Ú´Ù°í ÇÏ¿´°í" ar[2] = "Çì¾îÁö±â À§ÇÑ ¾Ç¼ö¸¦ ´õ ¸¹ÀÌ Çϸç ÃÑÃÑÈ÷ µ¹¾Æ¼­ °¬´Ù" ar[3] = "±×µéÀº ¸ðµÎ ³¸¼± °Å¸®¸¦ ÁöÄ¡µµ·Ï Çì¸Å°Å³ª" ar[4] = "ºµ ¾È µå´Â »ç¹«½Ç¿¡¼­ ¾îµÎ¿öÁú ¶§±îÁö ÀÏÀ» ÇÏ¿´´Ù" ar[5] = "ºÎ´Â ¹Ù¶÷ ¼Ò¸®¿Í ±â´Ù¸®´Â »ç¶ûÇÏ´Â ÀÌÀÇ ¸ñ¼Ò¸®°¡ Àß µé¸®Áö ¾Ê°í" ar[6] = "Áö´Â ³ëÀ»°ú »ç¶÷ÀÇ ¾ó±¼ÀÌ Á¦´ë·Î º¸ÀÌÁö ¾Ê°Ô µÇ¾ú´Ù" ar[7] = "¹ãÀÌ ±í¾î¼­¾ß ¾îµÎ¿î °ñ¸ñ±æÀ» È¥ÀÚ µ¹¾Æ¿Í" ar[8] = "µ¹¾Æ¿À±â°¡ ¹«¼·°Ô ÁöÃÄ ¾²·¯Áö°ï ÇÏ¿´´Ù" ar[9] = "¸ðµÎµé Àΰ£´ä°Ô »ì±â À§Çؼ­¶ó »ý°¢ÇÏ°í ÀÖ¾ú´Ù" ar[10] = "¿ì¸®ÀÇ ¸ö¿¡¼­ Á¶±Ý¾¿ »ç¶÷ÀÇ ³¿»õ°¡ »ç¶óÁ®°¡´Â °ÍÀ» ¾Ë¸é¼­µµ" ar[11] = "Àΰ£´ä°Ô »ì ¼ö ÀÖ´Â ÅÍÀü°ú" ar[12] = "Àΰ£´ä°Ô »ì ¼ö ÀÖ´Â ½Ã°£À» ¹ú±â À§Çؼ­¶ó ¹Ï°í ÀÖ¾ú´Ù" ar[13] = "±×·¯³ª ¿À´Ã ¾²Áö ¸øÇÑ ÆíÁö´Â ³¡³» ¾²Áö ¸øÇÏ°í ¸»¸®¶ó" ar[14] = "¿À´Ã ÇÏÁö ¾Ê°í »ý°¢ ¼ÓÀ¸·Î ¹Ì·ç¾îµÐ µû¶æÇÑ ¸» ÇѸ¶µð´Â" ar[15] = "°á±¹ »ý°¢°ú ÇÔ²² ÀØÇôÁö°í ³»Àϵµ ¿ì¸®´Â ¿©ÀüÈ÷ ¹Ù»Ü °ÍÀÌ´Ù" ar[16] = "³»Àϵµ ¿ì¸®´Â ¾îµÎ¿î °ñ¸ñ±æÀ» ÁöÄ£ °ÉÀ½À¸·Î È¥ÀÚ µ¹¾Æ¿Ã °ÍÀÌ´Ù" ar[17] = "µµÁ¾È¯ / ±Í°¡" var currentMessage = 0 var offset = 0 function stopBanner() { // if banner is currently running if (bannerRunning) // stop the banner clearTimeout(timerID) // timer is now stopped bannerRunning = false } function startBanner() { stopBanner() showBanner() } function showBanner() { var text = ar[currentMessage] if (offset < text.length) { document.my.board.value += text.charAt(offset++) timerID = setTimeout("showBanner()", speed) bannerRunning = true } else { offset = 0 if( ++currentMessage < numLines ) document.my.board.value += "\n" else{ document.my.board.value = "" for(var i=currentMessage-numLines ; i< currentMessage ; i++){ document.my.board.value += ar[i] + "\n" } } if (currentMessage == ar.length){ currentMessage = 0 document.my.board.value = "" } timerID = setTimeout("showBanner()", pause) bannerRunning = true } } // --> </SCRIPT> <form name="my"><textarea name="board" cols=70 rows=3 value=""> </textarea><br><center> <input type="button" value="½ÃÀÛ" onClick="startBanner()"> <input type="button" value="¸ØÃã" onClick="stopBanner()"> <input type="reset" value="»èÁ¦"></input></form> <!-- ¼Ò½º´Â ¿©±â±îÁö -->