Internet °ü·Ã ÀÚ·á |
---|
Á¦¸ñ | [JavaScript] ½Ã°è 1998/10/07 (13:30) |
À̸§ | ±èÈ¿¿ø |
¹øÈ£ | 44 |
Á¶È¸ | 350 |
º»¹® |
<HTML> <HEAD> <TITLE> HowPC ÀÚ¹Ù½ºÅ©¸³Æ® ¿¹Á¦ 12 : ½Ã°è </TITLE> <!-- 1. ´ÙÀ½ ºÎºÐÀ» <HEAD> ºÎºÐ¿¡ º¹»çÇÑ´Ù. --> <script language="javascript"> <!-- var dateform speed=1000 len=28 tid = 0; function dodate() { f.date.value=new Date(); tid=window.setTimeout("dodate()",speed); } function start(x) { f=x tid=window.setTimeout("dodate()",speed); } function cleartid() { window.clearTimeout(tid); } // for some reason on some pages this crashes netscape function Clock() { document.write('<FORM name=dateform><input name=date size=') document.write(len) document.write(' value="Clock: Requires Javascript"></FORM>') start(document.dateform); } // --> </script> </HEAD> <body> <body bgcolor="#000000" text="#38CC70" link="#F3C961" vlink="F3C961" alink="#F3C961"> <h3>Clock</h3> This page written with Java Script implements a Clock. The interface is a single function that takes no arguments: <p> <!-- 2. <SCRIPT>...</SCRIPT> ºÎºÐÀ» <BODY> ¾È¿¡ º¹»çÇÏ¸é µÈ´Ù. --> <script language="javascript"> // You need a javascript compatible browser to view the following <br> Clock(); // end javascipt section <br> </script> </BODY> </HTML> |