中间的是if语句,可以这样写啊
event是参数function closeEvent(evt){
if(evt.clientX <=0 && evt.clientY <0)
{
window.opener.focus();
}
} 在html中用 onunload="closeEvent(event)" 调用是好用的。
event是参数function closeEvent(evt){
if(evt.clientX <=0 && evt.clientY <0)
{
window.opener.focus();
}
} 在html中用 onunload="closeEvent(event)" 调用是好用的。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货