2个回答
展开全部
<script language=javascript>
var timer ;
var winOpen ;
function IfWindowClosed()
{
//alert("in ifWindowClosed()");
if (winOpen.closed == true) {
window.location.reload();
window.clearInterval(timer);
}
}
function openMDCL(surl)
{
//alert("in openMDCL");
//alert("url = "+surl);
winOpen=window.open(surl,"","resizable=yes,scrollbars=yes,toolbar=no,menubar=yes" );
timer=window.setInterval("IfWindowClosed()",500);
}
</script>
var timer ;
var winOpen ;
function IfWindowClosed()
{
//alert("in ifWindowClosed()");
if (winOpen.closed == true) {
window.location.reload();
window.clearInterval(timer);
}
}
function openMDCL(surl)
{
//alert("in openMDCL");
//alert("url = "+surl);
winOpen=window.open(surl,"","resizable=yes,scrollbars=yes,toolbar=no,menubar=yes" );
timer=window.setInterval("IfWindowClosed()",500);
}
</script>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询