#1 進站時間 - 蛙 (Administrator) 發表於 30-5-2012 11:19
<script type="text/javascript"><!--Stamp = new Date();
var Hours, Mins, Time;
Hours = Stamp.getHours();
if (Hours >= 12) {Time = " P.M.";}
else {Time = " A.M.";}
if (Hours > 12) {Hours -= 12;}
if (Hours == 0) {Hours = 12;}
Mins = Stamp.getMinutes();
if (Mins < 10) {Mins = "0" + Mins;}
document.write("你在 "+Hours+" 時 "+Mins+" 分進入本站"
// --></script>
<BR><BR><BR>
<P><FONT color=blue><script type="text/javascript"><!--<BR>Stamp = new Date();<BR>var Hours, Mins, Time;<BR>Hours = Stamp.getHours();<BR>if (Hours >= 12) {Time = " P.M.";}<BR>else {Time = " A.M.";}<BR>if (Hours > 12) {Hours -= 12;}<BR>if (Hours == 0) {Hours = 12;}<BR>Mins = Stamp.getMinutes();<BR>if (Mins < 10) {Mins = "0" + Mins;} <BR>document.write("你在 "+Hours+" 時 "+Mins+" 分進入本站" <BR>// --></script></FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=purple>進入本站 <<< 可更改</FONT></P>
<P><FONT color=#800080></FONT> </P>
<P><FONT color=#800080></FONT> </P>
<P><FONT color=#0000ff size=3>如不能顯示語法效果,可貼去本站</FONT><A href="http://www.bunbun000.com/html/index.htm" target=_blank><FONT color=red size=3>語法測試板</FONT></A><FONT color=#0000ff size=3>試看</FONT></P>