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


頁: [1]

#1  今天日期 -  (Administrator) 發表於 18-5-2012 17:49

<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></FONT> </P>
<P><FONT color=blue>&lt;script language="JavaScript"&gt;<BR>var enabled = 0; today = new Date();<BR>var day; var date;<BR>if(today.getDay()==0) day = "星期日"<BR>if(today.getDay()==1) day = "星期一"<BR>if(today.getDay()==2) day = "星期二"<BR>if(today.getDay()==3) day = "星期三"<BR>if(today.getDay()==4) day = "星期四"<BR>if(today.getDay()==5) day = "星期五"<BR>if(today.getDay()==6) day = "星期六"<BR>document.fgColor = "000000";<BR>date = "今天是 " + " " + (today.getMonth() + 1 ) + " 月 " + today.getDate() + " 日 " + day +"";<BR>document.write("&lt;CENTER&gt;&lt;FONT COLOR=000000&gt;"<BR>document.write("&lt;CENTER&gt;" + date.fontsize(3) + "&lt;/CENTER&gt;";<BR>document.write("&lt;/FONT&gt;"<BR>&lt;/script&gt;</FONT><BR><BR></P>

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

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script language="JavaScript">
var enabled = 0; today = new Date();
var day; var date;
if(today.getDay()==0) day = "星期日"
if(today.getDay()==1) day = "星期一"
if(today.getDay()==2) day = "星期二"
if(today.getDay()==3) day = "星期三"
if(today.getDay()==4) day = "星期四"
if(today.getDay()==5) day = "星期五"
if(today.getDay()==6) day = "星期六"
document.fgColor = "000000";
date = "今天是 " + " " + (today.getMonth() + 1 ) + " 月 " + today.getDate() + " 日 " + day +"";
document.write("<CENTER><FONT COLOR=000000>"
document.write("<CENTER>" + date.fontsize(3) + "</CENTER>";
document.write("</FONT>"
</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