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


頁: [1]

#1  音樂選播機 -  (Administrator) 發表於 9-6-2012 09:11

<P><FONT color=blue>&lt;SCRIPT Language="JavaScript"&gt;<BR> midi = new Array(5);<BR> midi[0] = "</FONT><A href="http://www.bunbunhk.com/dl/j1.mid"><FONT color=blue>http://www.bunbunhk.com/dl/j1.mid</FONT></A><FONT color=blue>";<BR> midi[1] = "</FONT><A href="http://www.bunbunhk.com/dl/j2.mid"><FONT color=blue>http://www.bunbunhk.com/dl/j2.mid</FONT></A><FONT color=blue>";<BR> midi[2] = "</FONT><A href="http://www.bunbunhk.com/dl/j3.mid"><FONT color=blue>http://www.bunbunhk.com/dl/j3.mid</FONT></A><FONT color=blue>";<BR> midi[3] = "</FONT><A href="http://www.bunbunhk.com/dl/j4.mid"><FONT color=blue>http://www.bunbunhk.com/dl/j4.mid</FONT></A><FONT color=blue>";<BR> midi[4] = "</FONT><A href="http://www.bunbunhk.com/dl/j5.mid"><FONT color=blue>http://www.bunbunhk.com/dl/j5.mid</FONT></A><FONT color=blue>";</FONT></P>
<P><BR><FONT color=blue> index = Math.floor(Math.random() * midi.length);<BR> document.write("&lt;embed src=" + midi[index] + " autostart=true hidden=true loop=true name=midis volume=100%&gt;";<BR> &lt;/SCRIPT&gt;<BR> <BR>&lt;b&gt;Music :&lt;/b&gt; <BR>&lt;a href="javascript:document.midis.play()" target=_self&gt;Play /&lt;/a&gt;<BR> &lt;a href="javascript:document.midis.stop()" target=_self&gt;Stop /&lt;/a&gt;<BR> &lt;a href="javascript:location.reload()" target=_self&gt;change music&lt;/a&gt;</FONT></P>
<P><B></B> </P>
<P><B></B> </P>
<P> </P>
<P> </P>
<P><A href="http://www.bunbunhk.com/dl/j5.mid"><FONT color=purple>http://www.bunbunhk.com/dl/j5.mid</FONT></A><FONT color=purple>  &lt;&lt;&lt;音樂網址,可更改</FONT></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple>new Array(5);  &lt;&lt;&lt;可隨意加減歌曲,祇要將此更改數目</FONT></P>
<P><FONT color=purple> midi[4] = "</FONT><A href="http://www.bunbunhk.com/dl/j5.mid"><FONT color=purple>http://www.bunbunhk.com/dl/j5.mid</FONT></A><FONT color=purple>";  &lt;&lt;&lt;再增加或減少,但數字要跟著更改</FONT><BR></P>
<P><B></B> </P>
<P><B></B> </P>
<P><B></B> </P>
<P>
<SCRIPT language=JavaScript>
midi = new Array(5);
midi[0] = "http://www.bunbunhk.com/dl/j1.mid";
midi[1] = "http://www.bunbunhk.com/dl/j2.mid";
midi[2] = "http://www.bunbunhk.com/dl/j3.mid";
midi[3] = "http://www.bunbunhk.com/dl/j4.mid";
midi[4] = "http://www.bunbunhk.com/dl/j5.mid";


index = Math.floor(Math.random() * midi.length);
document.write("<embed src=" + midi[index] + " autostart=true hidden=true loop=true name=midis volume=100%>";
</SCRIPT>
<B>Music :</B> <A href="javascript:document.midis.play()" target=_self>Play /</A> <A href="javascript:document.midis.stop()" target=_self>Stop /</A> <A href="javascript:location.reload()" target=_self>change music</A></P>
<P> </P>
<P> </P>
<P> </P>
<P> </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>

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

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<SCRIPT Language="JavaScript">
midi = new Array(5);
midi[0] = "http://www.bunbunhk.com/dl/j1.mid";
midi[1] = "http://www.bunbunhk.com/dl/j2.mid";
midi[2] = "http://www.bunbunhk.com/dl/j3.mid";
midi[3] = "http://www.bunbunhk.com/dl/j4.mid";
midi[4] = "http://www.bunbunhk.com/dl/j5.mid";


index = Math.floor(Math.random() * midi.length);
document.write("<embed src=" + midi[index] + " autostart=true hidden=true loop=true name=midis volume=100%>";
</SCRIPT>

<b>Music :</b>
<a href="javascript:document.midis.play()" target=_self>Play /</a>
<a href="javascript:document.midis.stop()" target=_self>Stop /</a>
<a href="javascript:location.reload()" target=_self>change music</a>
</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