<embed src="<%=path%>/web/flash/mzdhl.mp3" id="mp" align="center"
border="0" style="height:0px;width:0px;" autostart="true" loop="true">
<script type="text/javascript">
var musicState = 1;
function music() {
if (musicState == 1) {
document.getElementById("mp").pause();
musicState = 2;
document.getElementById("player").src="<%=path %>/web/img/play_24.png";
document.getElementById("player").title="背景音乐播放";
} else {
document.getElementById("mp").play();
musicState = 1;
document.getElementById("player").src="<%=path %>/web/img/stop_24.png";
document.getElementById("player").title="背景音乐暂停";
}
}
</script>
border="0" style="height:0px;width:0px;" autostart="true" loop="true">
<script type="text/javascript">
var musicState = 1;
function music() {
if (musicState == 1) {
document.getElementById("mp").pause();
musicState = 2;
document.getElementById("player").src="<%=path %>/web/img/play_24.png";
document.getElementById("player").title="背景音乐播放";
} else {
document.getElementById("mp").play();
musicState = 1;
document.getElementById("player").src="<%=path %>/web/img/stop_24.png";
document.getElementById("player").title="背景音乐暂停";
}
}
</script>