98、鼠标一离开,窗口就关闭

98、鼠标一离开,窗口就关闭

以下代码加入<head>区域

<SCRIPT Language="JavaScript">function winopen() {msg1=open("update.htm","Homepage","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=200,height=250");}</script>

 

以下代码加入<body>区域

<SCRIPT Language="JavaScript">function winopen1() {msg1=open("sh3.htm","Homepage","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=200,height=250");}</script>

<a href="" onMouseOver="winopen1(); return true;" onMouseOut="msg1.close();">update</a>

 

Write a comment

Comments: 0