1个回答
展开全部
<script language=javascript>
<!--
function closing()
{
alert("欢迎再来");
window.close
}
/-->
</script>
<script>
function window.onbeforeunload(){
with(window.event)if(clientY<0&&clientX>document.body.clientWidth||altKey)closing()
}
</script>
<!--
function closing()
{
alert("欢迎再来");
window.close
}
/-->
</script>
<script>
function window.onbeforeunload(){
with(window.event)if(clientY<0&&clientX>document.body.clientWidth||altKey)closing()
}
</script>
参考资料: http://hi.baidu.com/huangwanyou/blog/item/7b40e101ebfad20b728da552.html
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询