笨笨網站超級論壇 (綠色版本)


頁: [1]

#1  最後更新日期 ( ... -  (Administrator) 發表於 26-5-2012 10:13

<FONT color=blue>
<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></FONT>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue>&lt;SCRIPT LANGUAGE="JavaScript"&gt;<BR>   function initArray() {  <BR>      this.length = initArray.arguments.length<BR>      for (var i = 0; i &lt; this.length; i++)<BR>      this[i+1] = initArray.arguments<BR>   }<BR>   var DOWArray = new initArray("星期日","星期一","星期二","星期三",<BR>                                "星期四","星期五","星期六";<BR>   var MOYArray = new initArray("一月","二月","三月","四月",<BR>                                "五月","六月","七月","八月","九月",<BR>                                "十月","十一月","十二月";<BR>   var LastModDate = new Date(document.lastModified);<BR>   document.write("最後更新:";<BR>   document.write(DOWArray[(LastModDate.getDay()+1)],", ";<BR>   document.write(MOYArray[(LastModDate.getMonth()+1)],", ";<BR>   document.write(LastModDate.getDate(),"日 ",(LastModDate.getYear()+00));<BR>   document.write(" ");<BR>&lt;/SCRIPT&gt;</FONT><BR><BR></P>


<SCRIPT LANGUAGE="JavaScript">
   function initArray() {  
      this.length = initArray.arguments.length
      for (var i = 0; i < this.length; i++)
      this[i+1] = initArray.arguments
   }
   var DOWArray = new initArray("星期日","星期一","星期二","星期三",
                                "星期四","星期五","星期六");
   var MOYArray = new initArray("一月","二月","三月","四月",
                                "五月","六月","七月","八月","九月",
                                "十月","十一月","十二月");
   var LastModDate = new Date(document.lastModified);
   document.write("最後更新:");
   document.write(DOWArray[(LastModDate.getDay()+1)],", ");
   document.write(MOYArray[(LastModDate.getMonth()+1)],", ");
   document.write(LastModDate.getDate(),"日 ",(LastModDate.getYear()+00));
   document.write(" ");
</SCRIPT>

#2  複製上列語法 -  (Administrator) 發表於 25-5-2013 16:18

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<SCRIPT LANGUAGE="JavaScript">
   function initArray() {  
      this.length = initArray.arguments.length
      for (var i = 0; i < this.length; i++)
      this[i+1] = initArray.arguments
   }
   var DOWArray = new initArray("星期日","星期一","星期二","星期三",
                                "星期四","星期五","星期六";
   var MOYArray = new initArray("一月","二月","三月","四月",
                                "五月","六月","七月","八月","九月",
                                "十月","十一月","十二月";
   var LastModDate = new Date(document.lastModified);
   document.write("最後更新:";
   document.write(DOWArray[(LastModDate.getDay()+1)],", ";
   document.write(MOYArray[(LastModDate.getMonth()+1)],", ";
   document.write(LastModDate.getDate(),"日 ",(LastModDate.getYear()+00));
   document.write(" ");
</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>
頁: [1]

Powered by Discuz Simply! 0.54 Released © wxyuan90