给你个例子:
<html>
<script language="JavaScript">
var x=window.screen.width;
var y=window.screen.width;
var xx=(window.screen.width-x)/2;
var yy=(window.screen.height-y)/2;
window.resizeTo(x,y);
window.moveTo(0,0);
</script><head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head><frameset rows="64,*">
  <frame name="banner" scrolling="no" noresize target="contents" src="file:///E:/Learn/html/calendar_online.htm">
  <frameset cols="150,*">
    <frame name="contents" target="main" src="file:///E:/Learn/html/QQ菜单.htm">
    <frame name="main" scrolling="auto" src="PageDown_Up.htm" target="contents">
  </frameset>
  <noframes>
  <body >  <p>此网页使用了框架,但您的浏览器不支持框架。</p>  </body>
  </noframes>
</frameset></html>