蛙 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>
蛙 25-5-2013 16:22
複製上列語法
<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<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>
</textarea><br>
<input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="全選">
</form>
<br>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4078143172638881";
/* 336X280 */
google_ad_slot = "3268225205";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>