27、离开转跳到指定网址

27、离开转跳到指定网址

<html>

 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>网页特效代码---离开时转跳到指定网址</title>

 

</head>

 

<body onUnload="leave()">

<script LANGUAGE="JavaScript">

<!-- Begin

function leave() {

window.open('http://www.163.com','','toolbar=no,menubar=no,location=no,height=70,width=650');

}

// End -->

</script>

 

</body>

</html>

Write a comment

Comments: 0