「トップページ」の編集履歴(バックアップ)一覧に戻る
トップページ - (2006/06/10 (土) 16:05:38) のソース
<html> <head> <title>TheTime</title> <script language="JavaScript" type="text/javascript"> <!-- function loop(){now = new Date; str = "年"+(now.getMonth()+1)+"月"+now.getDate()+"日 "+now.getHours()+"時"+now.getMinutes()+"分"+now.getSeconds()+"秒";jpyears(now, str); // setTimeout("loop()", 100); //100ミリ秒/} function jpyears(now, str){str2 = "主体"+(now.getFullYear()-1912)+str; document.form1.kouki.value = str2; //} //--> </script> <style type="text/css"> <!-- .formstyle{border-width:0px;font-size:25px;} ////--> </style> </head> <body onload=loop()> <form action="#" name=form1> <input type=text name=kouki size=35 class=formstyle readonly><br> <input type=text name=heisei size=35 class=formstyle readonly><br> </form> </body> </html>