如何在頁面關閉的時候彈出另一個頁面,就咋body的onunload中,詳細請看下面的代碼
<html>
<title>網(wǎng)站制作學習網(wǎng)www.forasp.cn</title>
<head></head>
<body onunload="javascript:window.open(http://www.forasp.cn);">
關閉試試看
</body>
</html>
試試上面的代碼
更多信息請查看IT技術專欄
2026國考·省考課程試聽報名