mainFrame.html可以增加主页面标题等信息
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<META http-equiv=Content-Type content="text/html;
charset=utf-8">
<link rel="Shortcut Icon" href="favicon.ico">
<link rel="Bookmark" href="favicon.ico">
<style>
body {
background-color: white;
color: black;
margin: 0px 0px 0px 0px;
overflow-x:hidden;
overflow-y:hidden
}
</style>
<script>
var gwtState = false;
function gwtInitOk() {
gwtState = true;
}
function hideiframe() {
myfr.document.body.scroll='no';
myd.style.display='none';
myc.style.display='';
}
function showloginframe() {
//myfr.location="fullLogin.html";
//conn.location="SWMS.html";
/*try{
alert(conn.location);
myfr.location.reload(true);
conn.location.reload(true);
}
catch(e) {
alert(e.message);
}
myd.style.display='';
myc.style.display='none';*/
window.location.reload(true);
}
</script>
<title>仓储系统 - **物流有限公司</title>
</head>
<body>
<div id="myd" style="left:0;top:0;width:100%;height:100%">
<iframe id="myfr" name="myfr" src="fullLogin.html" width=100%
height=100% frameborder=0 scrolling=no></iframe>
</div>
<div id="myc" style="display:'none';left:0;top:0;width:100%;height:100%">
<iframe id="conn" name="conn" src="SWMS.html" width=100% height=100%
frameborder=0 scrolling=no></iframe>
</div>
</body>
</html>