要想让窗体自动弹出,应加入什么代码

来源:百度知道 编辑:UC知道 时间:2024/06/03 06:47:08

HTML?
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
function openwin()
{OpenWindow=window.open("", "newwin", "height=250, width=250,toolbar=no,menubar=no");
OpenWindow.document.write("<TITLE>查询年月</TITLE>") ;
OpenWindow.document.write("<BODY BGCOLOR=#ffffff>") ;
OpenWindow.document.write("<h1>Hello!</h1>")
OpenWindow.document.write(" <p>年份: ");
OpenWindow.document.write(" <input type='text' name='textfield'>");
OpenWindow.document.write(" </p>");
OpenWindow.document.write(" <p>月份:") ;
OpenWindow.document.write(" <input type='text' name='textfield2'>");
OpenWindow.document.write(" </p>");
OpenWindow.document.write("</BODY>") ;
OpenWindow.docu