<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
< SCRIPTLANGUAGE=javascript>
< !--Writer:YuHaiHe
functionplaySound(){
document.firstSound.play(true);
}
functionpauseSound(){
document.firstSound.pause();
}
functionstopSound(){
document.firstSound.stop();
}
functionvolup(){
currentVolume=document.firstSound.GetVolume();
newVolume=(currentVolume+10);
if(document.firstSound.GetVolume()==100){
alert("音量已经达到最大值"
;
}
if(newVolume<101){
document.firstSound.setvol(newVolume);
}
else
{
if((newVolume<=100)&&(newVolume>90)){
document.firstSound.setvol(100);
}
}
}
functionvoldown(){
currentVolume=document.firstSound.GetVolume();
newvolume=(currentVolume-10);
if(document.firstSound.GetVolume()==0){
alert("音量已经达到最小值"
;
}
if(newVolume>0){
document.firstSound.setvol(newVolume);
}
else
{
if((newVolume>=0)&&(newVolume<10)){
document.firstSound.setvol(0);
}
}
}
//EndofjavascriptCode-->
< /SCRIPT>
< /HEAD>
< BODY>
< EMBED
SRC="JN.MID"
HIDDEN=TRUE
AUTOSTART="FALSE"
LOOP="TRUE"
NAME="firstSound"
MASTERSOUND>
< P>< AHREF="javascript
laySound()">播放< /A>< /P>
< P>< AHREF="javascript
auseSound()">暂停< /A>< /P>
< P>< AHREF="javascript:stopSound()">停止< /A>< /P>
< P>< AHREF="javascript:volup()">音量+< /A>< /P>
< P>< AHREF="javascript:voldown()">音量-< /A>< /P>
<body>
</body>
</html>
我把这段程序放进网页为什么没用?该怎么用?这段程序是什么意思?我是菜鸟,请各位包涵!