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


頁: [1]

#1  隨機語句 -  (Administrator) 發表於 30-5-2012 09:34

<script type="text/javascript"><!--
yudan_txt = new Array(4);
yudan_txt[0] = "Hello!";
yudan_txt[1] = "你好嗎!";
yudan_txt[2] = "身體健康!";
yudan_txt[3] = "萬事勝意!";
index = Math.floor(Math.random() * yudan_txt.length);
document.write(yudan_txt[index]);
// --></script>

<BR><BR><BR>

<P><FONT color=purple><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></FONT></P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3></FONT> </P></FONT>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue>&lt;script type="text/javascript"&gt;&lt;!--<BR>yudan_txt = new Array(4);<BR>yudan_txt[0] = "Hello!";<BR>yudan_txt[1] = "你好嗎!";<BR>yudan_txt[2] = "身體健康!";<BR>yudan_txt[3] = "萬事勝意!";<BR>index = Math.floor(Math.random() * yudan_txt.length);<BR>document.write(yudan_txt[index]);<BR>// --&gt;&lt;/script&gt;</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=purple>yudan_txt[0] = "Hello!";<BR>yudan_txt[1] = "你好嗎!";<BR>yudan_txt[2] = "身體健康!";<BR>yudan_txt[3] = "萬事勝意!";<BR> </FONT></P>
<P><FONT color=purple>以上文字可隨意更改,亦可隨意增減字句</FONT></P>
<P><FONT color=purple>但要留意new Array(4); &lt;&lt;&lt; 4要跟隨加減</FONT></P>

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

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script type="text/javascript"><!--
yudan_txt = new Array(4);
yudan_txt[0] = "Hello!";
yudan_txt[1] = "你好嗎!";
yudan_txt[2] = "身體健康!";
yudan_txt[3] = "萬事勝意!";
index = Math.floor(Math.random() * yudan_txt.length);
document.write(yudan_txt[index]);
// --></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