14、自动打开页面代码

14、自动打开页面代码

脚本说明:

第一步:把如下代码加入<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("s100.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