让我解释一下:当您在JS中调用alert()时,警报下面的所有代码都将停止,当您单击“确定”时,代码返回工作。我用这段代码制作了自己的自定义警报:functioncAlert(){varbOn;this.show=function(content){bOn=true;document.write('');$("#cAlertContentBox").html(content);$("#cAlertBox").show();$("#turnOffLight").fadeIn("fast");vardiv=document.getElementById('cAlertBox').offse