我正在使用以下代码显示弹出窗口:
var left = (screen.width/2)-(400/2);
var top = (screen.height/2)-(400/2);
targetWin2 = window.open ('', 'popup', 'toolbar=no,location=no,directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=10, top='+top+', left='+left);
有用; 但是如何在显示此窗口时播放弹出声音?