永发信息网

用dreamwear加载歌曲

答案:1  悬赏:10  手机版
解决时间 2021-04-21 06:45
  • 提问者网友:杀生予夺
  • 2021-04-20 15:53
不用bgsound加载歌曲,还有另外的代码没,求个详细的答案,谢谢
最佳答案
  • 五星知识达人网友:千夜
  • 2021-04-20 17:22

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
font-size: 9pt;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.musictop {
font-size: 12pt;
font-weight: bolder;
color: #FF0000;
text-decoration: underline;
}
.zhu {
font-size: 10px;
font-weight: normal;
color: #999999;
text-decoration: none;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_controlSound2(x, _sndObj, sndFile) { //v3.0
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "stop";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "stop";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}
function MM_controlSound(x, _sndObj, sndFile) { //v3.0
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "Play";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "play";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}
//-->
</script>
</head>


<body>
<table width="48%" height="268" border="0" align="center" cellspacing="0">
<tr>
<td height="50" colspan="4" align="center" valign="middle"><span class="musictop">music</span> <span class="musictop">top</span></td>
</tr>
<tr>
<td height="14" colspan="4" align="right" bgcolor="#00FFFF" class="zhu">*注:部分歌曲为高品质音乐(256/320Kbps)打开较慢</td>
</tr>
<tr>
<td width="75%" height="34" bgcolor="#00FFFF">NO.1 &nbsp;&nbsp;Jordyn Taylor - Dream You To Life</td>
<td width="8%" bgcolor="#00FFFF"><img src="img/REALPLAY.GIF" width="16" height="16" border="0" usemap="#Map" onclick="MM_controlSound('play','document.CS1251683735500','music/Jordyn Taylor - Dream You To Life.mp3')" /></td>
<td width="8%" bgcolor="#00FFFF"><img src="img/STOP.jpg" width="16" height="16" border="0" usemap="#Map2" /></td>
<td width="9%" bgcolor="#00FFFF"><img src="img/LRC.GIF" width="16" height="16" /></td>
</tr>
<tr>
<td height="34" bgcolor="#CCFFFF">NO.2&nbsp;&nbsp;&nbsp;舜文齐 - 如果我死了</td>
<td bgcolor="#CCFFFF"><img src="img/REALPLAY.GIF" width="16" height="16" border="0" usemap="#Map3" /></td>
<td bgcolor="#CCFFFF"><img src="img/STOP.jpg" width="16" height="16" border="0" usemap="#Map4" /></td>
<td bgcolor="#CCFFFF"><img src="img/LRC.GIF" width="16" height="16" /></td>
</tr>
<tr>
<td height="34" bgcolor="#00FFFF">NO.3&nbsp;&nbsp;&nbsp;陶喆 - 桂冠英雄</td>
<td bgcolor="#00FFFF"><img src="img/REALPLAY.GIF" width="16" height="16" border="0" usemap="#Map5" /></td>
<td bgcolor="#00FFFF"><img src="img/STOP.jpg" width="16" height="16" border="0" usemap="#Map6" /></td>
<td bgcolor="#00FFFF"><img src="img/LRC.GIF" width="16" height="16" /></td>
</tr>
<tr>
<td height="34" bgcolor="#CCFFFF">NO.4&nbsp;&nbsp;&nbsp;宋念宇 - 说分手之后</td>
<td bgcolor="#CCFFFF"><img src="img/REALPLAY.GIF" width="16" height="16" border="0" usemap="#Map7" /></td>
<td bgcolor="#CCFFFF"><img src="img/STOP.jpg" width="16" height="16" border="0" usemap="#Map8" /></td>
<td bgcolor="#CCFFFF"><img src="img/LRC.GIF" width="16" height="16" /></td>
</tr>
<tr>
<td height="34" bgcolor="#00FFFF">NO.5&nbsp;&nbsp;&nbsp;宋念宇 - 就站在这里</td>
<td bgcolor="#00FFFF"><img src="img/REALPLAY.GIF" width="16" height="16" border="0" usemap="#Map9" /></td>
<td bgcolor="#00FFFF"><img src="img/STOP.jpg" width="16" height="16" border="0" usemap="#Map10" /></td>
<td bgcolor="#00FFFF"><img src="img/LRC.GIF" width="16" height="16" /></td>
</tr>
<tr>
<td height="34" bgcolor="#CCFFFF">NO.6&nbsp;&nbsp;&nbsp;S·J嘻哈门-我在乎</td>
<td bgcolor="#CCFFFF"><img src="img/REALPLAY.GIF" width="16" height="16" border="0" usemap="#Map11" /></td>
<td bgcolor="#CCFFFF"><img src="img/STOP.jpg" width="16" height="16" border="0" usemap="#Map12" /></td>
<td bgcolor="#CCFFFF"><img src="img/LRC.GIF" width="16" height="16" /></td>
</tr>
</table>
<map name="Map" id="Map">
<area shape="rect" coords="-2,0,14,14" href="#" onclick="MM_controlSound('play','document.CS1251683735500','music/Jordyn Taylor - Dream You To Life.mp3')" />
</map>
<embed name="CS1251683735500" src="music/Jordyn Taylor - Dream You To Life.mp3" loop="false" autostart="false" hidden="true" width="0" height="0" enablejavascript="true"></embed>
<map name="Map2" id="Map2">
<area shape="rect" coords="2,1,19,14" href="#" onclick="MM_controlSound2('stop','document.CS1251683735500','music/Jordyn Taylor - Dream You To Life.mp3')" />
</map>
<map name="Map3" id="Map3">
<area shape="rect" coords="0,-2,16,15" href="#" onclick="MM_controlSound('play','document.CS1251684301468','music/2.mp3')" />
</map>
<embed name="CS1251684301468" src="music/2.mp3" loop="false" autostart="false" hidden="true" width="0" height="0" enablejavascript="true"></embed>
<map name="Map4" id="Map4">
<area shape="rect" coords="1,1,16,16" href="#" onclick="MM_controlSound2('stop','document.CS1251684301468','music/2.mp3')" />
</map>
<map name="Map5" id="Map5">
<area shape="rect" coords="0,0,16,14" href="#" onclick="MM_controlSound('play','document.CS1251684818015','music/3.mp3')" />
</map>
<embed name="CS1251684818015" src="music/3.mp3" loop="false" autostart="false" hidden="true" width="0" height="0" enablejavascript="true"></embed>
<map name="Map6" id="Map6">
<area shape="rect" coords="1,0,16,15" href="#" onclick="MM_controlSound2('stop','document.CS1251684818015','music/3.mp3')"/>
</map>
<map name="Map7" id="Map7">
<area shape="rect" coords="1,1,15,16" href="#" onclick="MM_controlSound('play','document.CS1251685339453','music/4.mp3')" />
</map>
<map name="Map8" id="Map8">
<area shape="rect" coords="1,3,14,17" href="#" onclick="MM_controlSound2('stop','document.CS1251685339453','music/4.mp3')"/>
</map>
<map name="Map9" id="Map9">
<area shape="rect" coords="0,0,19,17" href="#" onclick="MM_controlSound('play','document.CS1251685472015','music/5.mp3')" />
</map>
<map name="Map10" id="Map10">
<area shape="rect" coords="2,0,19,17" href="#" onclick="MM_controlSound2('stop','document.CS1251685472015','music/5.mp3')"/>
</map>
<map name="Map11" id="Map11">
<area shape="rect" coords="0,1,23,25" href="#" onclick="MM_controlSound('play','document.CS1251685603140','music/6.wma')" />
</map>
<map name="Map12" id="Map12">
<area shape="rect" coords="1,-2,19,18" href="#" onclick="MM_controlSound2('stop','document.CS1251685603140','music/6.wma')"/>
</map>
<embed name="CS1251685339453" src="music/4.mp3" loop="false" autostart="false" hidden="true" width="0" height="0" enablejavascript="true"></embed>
<embed name="CS1251685472015" src="music/5.mp3" loop="false" autostart="false" hidden="true" width="0" height="0" enablejavascript="true"></embed>
<embed name="CS1251685603140" src="music/6.wma" loop="false" autostart="false" hidden="true" width="0" height="0" enablejavascript="true"></embed>
</body>
</html>






给你个我以前做的 自己看 要用到JS代码

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯