用浏览器查看的网页源代码如下
<html>
<head>
<title>协同办公信息管理系统</title>
<META http-equiv="Content-Type" content="text/html; charset=GBK">
<META http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="pragma" content="no-cache">
<link rel="stylesheet" type="text/css" href="/oa/resource/function/css/public.css" />
<link rel="stylesheet" type="text/css" href="/oa/resource/function/css/calendar.css" />
<link rel="stylesheet" type="text/css" href="/oa/resource/function/css/xtree.css" />
<link rel="stylesheet" type="text/css" href="/oa/resource/function/css/form.css" />
<link rel="stylesheet" type="text/css" href="/oa/resource/function/css/form_tab.css" />
<link rel="stylesheet" type="text/css" href="/oa/resource/function/css/tab.winclassic.css" />
<link rel="stylesheet" type="text/css" href="/oa/resource/function/css/list.css" />
<script language="JavaScript" type="text/JavaScript">
<!--
try {
window.moveTo(0,0);
window.resizeTo(screen.availwidth,screen.availheight);
} catch (e) {}
//-->
</SCRIPT>
<script>
window.onbeforeunload = function ()
{
//window.open ("login/logout.jsp", "newwindow", " toolbar= no, menubar=no,scrollbars=no,resizable=yes, location=no, status=no")
if(event.clientX>360&&event.clientY<0||event.altKey){
location.href="login/logout.jsp"
}
}
</script>
<!--
<OBJECT WIDTH="1" HEIGHT="1" ID="RemoveIEToolbar"
CLASSID="CLSID:2646205B-878C-11d1-B07C-0000C040BCDB" codebase="/oa/resource/function/nskey.dll">
<PARAM NAME="ToolBar" VALUE="1">
<PARAM NAME="StatusBar" VALUE="1">
</OBJECT>
-->
</head>
<frameset rows="104,*" cols="*" framespacing="0" border="0" frameborder="no" bordercolor="#FFFFFF">
<frame name="topFrame" scrolling="NO" noresize src="banner.jsp" class="topFrame">
<frame name="mainFrame" scrolling="YES" noresize src="content.jsp?type=7">
</frameset>
</html>
请大家指点如何写脚本 |