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


頁: [1]

#1  音樂點播機 (按 ... -  (Administrator) 發表於 9-6-2012 10:22

<P><FONT color=blue>&lt;script&gt;<BR>&lt;!-- Activate Cloaking Device<BR>var browser_check="";<BR>if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)&gt;=3)<BR>browser_check="n3_or_better";<BR>if(navigator.appName.substring(0,9)=="Microsoft"<BR>browser_check="msie";<BR>function playSong(selection) <BR>{<BR>if (browser_check=="n3_or_better" || browser_check=="msie"<BR>window.location.href=selection;<BR>else<BR>alert("\nSorry but this sound scheme is NOT supported by your browser.";<BR>} <BR>// Called by View Source button - displays text file of source.<BR>function viewSource()<BR>{<BR>alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples.";<BR>top.window.location.href="java";<BR>}<BR>// Called by About This button<BR>function about()<BR>{<BR>alert("\nOf course, this example requires sound capabilities.\n\nOnly Netscape 3 or better and MSIE are allowed access to this sound scheme.";<BR>}<BR>// Deactivate Cloaking --&gt;<BR>&lt;/script&gt;<BR>&lt;div align="center"&gt;&lt;center&gt;<BR>&lt;table border="0"&gt;<BR>&lt;tr&gt;<BR>&lt;td&gt;&lt;input type="button" value="music (1)"<BR>onclick="playSong('http://www.bunbunhk.com/dl/j1.mid')"&gt;&lt;/td&gt;<BR>&lt;td&gt;&lt;input type="button" value="music (2)"<BR>onclick="playSong('http://www.bunbunhk.com/dl/j2.mid')"&gt;&lt;/td&gt;<BR>&lt;td&gt;&lt;input type="button" value="music (3)"<BR>onclick="playSong('http://www.bunbunhk.com/dl/j3.mid')"&gt;&lt;/td&gt;<BR>&lt;td&gt;&lt;input type="button" value="music (4)"<BR>onclick="playSong('http://www.bunbunhk.com/dl/j4.mid')"&gt;&lt;/td&gt;<BR>&lt;td&gt;&lt;input type="button" value="music (5)"<BR>onclick="playSong('http://www.bunbunhk.com/dl/j5.mid')"&gt;&lt;/td&gt;<BR>&lt;/tr&gt;<BR>&lt;/table&gt;<BR>&lt;/center&gt;&lt;/div&gt;</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=purple>music (1) &lt;&lt;&lt; 可更改為歌曲名稱</FONT></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple>可隨意加減按鈕,原句增加及更改數字即可</FONT></P>
<P><FONT color=purple>&lt;td&gt;&lt;input type="button" value="music (5)"<BR>onclick="playSong('http://www.bunbunhk.com/dl/j5.mid')"&gt;&lt;/td&gt;</FONT></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple>http://www.bunbunhk.com/dl/j5.mid</FONT><FONT color=purple>  &lt;&lt; 音樂網址,可更改</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>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<SCRIPT>
<!-- Activate Cloaking Device
var browser_check="";
if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=3)
browser_check="n3_or_better";
if(navigator.appName.substring(0,9)=="Microsoft")
browser_check="msie";
function playSong(selection)
{
if (browser_check=="n3_or_better" || browser_check=="msie")
window.location.href=selection;
else
alert("\nSorry but this sound scheme is NOT supported by your browser.");
}
// Called by View Source button - displays text file of source.
function viewSource()
{
alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples.");
top.window.location.href="java";
}
// Called by About This button
function about()
{
alert("\nOf course, this example requires sound capabilities.\n\nOnly Netscape 3 or better and MSIE are allowed access to this sound scheme.");
}
// Deactivate Cloaking -->
</SCRIPT>

<DIV align=center>
<CENTER>
<TABLE border=0>
<TBODY>
<TR>
<TD><INPUT onclick="playSong('http://www.bunbunhk.com/dl/j1.mid')" value="music (1)" type=button></TD>
<TD><INPUT onclick="playSong('http://www.bunbunhk.com/dl/j2.mid')" value="music (2)" type=button></TD>
<TD><INPUT onclick="playSong('http://www.bunbunhk.com/dl/j3.mid')" value="music (3)" type=button></TD>
<TD><INPUT onclick="playSong('http://www.bunbunhk.com/dl/j4.mid')" value="music (4)" type=button></TD>
<TD><INPUT onclick="playSong('http://www.bunbunhk.com/dl/j5.mid')" value="music (5)" type=button></TD></TR></TBODY></TABLE></CENTER></DIV>

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

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script>
<!-- Activate Cloaking Device
var browser_check="";
if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=3)
browser_check="n3_or_better";
if(navigator.appName.substring(0,9)=="Microsoft"
browser_check="msie";
function playSong(selection)
{
if (browser_check=="n3_or_better" || browser_check=="msie"
window.location.href=selection;
else
alert("\nSorry but this sound scheme is NOT supported by your browser.";
}
// Called by View Source button - displays text file of source.
function viewSource()
{
alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples.";
top.window.location.href="java";
}
// Called by About This button
function about()
{
alert("\nOf course, this example requires sound capabilities.\n\nOnly Netscape 3 or better and MSIE are allowed access to this sound scheme.";
}
// Deactivate Cloaking -->
</script>
<div align="center"><center>
<table border="0">
<tr>
<td><input type="button" value="music (1)"
onclick="playSong('http://www.bunbunhk.com/dl/j1.mid')"></td>
<td><input type="button" value="music (2)"
onclick="playSong('http://www.bunbunhk.com/dl/j2.mid')"></td>
<td><input type="button" value="music (3)"
onclick="playSong('http://www.bunbunhk.com/dl/j3.mid')"></td>
<td><input type="button" value="music (4)"
onclick="playSong('http://www.bunbunhk.com/dl/j4.mid')"></td>
<td><input type="button" value="music (5)"
onclick="playSong('http://www.bunbunhk.com/dl/j5.mid')"></td>
</tr>
</table>
</center></div>
</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