Team:Osaka
From 2013.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
setTimeout("func()", 1000); | setTimeout("func()", 1000); | ||
} | } | ||
+ | // --> | ||
+ | </script> | ||
+ | <script language="JavaScript"> | ||
+ | <!-- | ||
+ | function ClockU(){ | ||
+ | time = new Date(); | ||
+ | time.setTime(time.getTime()-17*60*60*1000); | ||
+ | YearU = time.getFullYear(); | ||
+ | MonthU = time.getMonth()+1; | ||
+ | DayU = time.getDate(); | ||
+ | HourU = time.getHours(); | ||
+ | MinuteU = time.getMinutes(); | ||
+ | SecondU = time.getSeconds(); | ||
+ | if(MonthU<10){MonthU='0'+MonthU;} | ||
+ | if(DayU<10){DayU='0'+DayU;} | ||
+ | if(HourU<10){HourU='0'+HourU;} | ||
+ | if(MinuteU<10){MinuteU='0'+MinuteU;} | ||
+ | if(SecondU<10){SecondU='0'+SecondU;} | ||
+ | |||
+ | document.getElementById('ClockU').innerHTML = YearU+'/'+MonthU+'/'+DayU+' '+HourU+':'+MinuteU+':'+SecondU; | ||
+ | setTimeout('ClockU()',100); | ||
+ | } | ||
+ | setTimeout('ClockU()'); | ||
+ | |||
// --> | // --> | ||
</script> | </script> | ||
Line 26: | Line 50: | ||
</div> | </div> | ||
<div style="width:700px; top:280px; position:fixed; left:50%; margin-left:-350px;"> | <div style="width:700px; top:280px; position:fixed; left:50%; margin-left:-350px;"> | ||
- | < | + | |
- | <p style="font-size: 18px; font-family: serif; color:#000066;"> | + | <p style="font-size: 18px; font-family: serif; color:#000066;">TYO : <input type="text" size="25" name="text1" ></p> |
- | + | ||
+ | |||
+ | <p style="font-size: 18px; font-family: serif; color:#000066;">NYC : <input type="text" size="25" name="ClockU" ></p> | ||
+ | |||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 18:17, 23 September 2013
<body style="background-image: url("") overflow: hidden;">
TYO :
NYC :