111,092
社区成员




<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CRM</title>
<script>
function toFull() {
url = 'http://localhost:8088/b.html';
if (window.name != 'IAMP') {
window.opener = 'opener';
var newWin = window.open(url, 'IAMP', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbar=yes,resizable=yes,left=0,top=0');
if (newWin != null && typeof(newWin) != "undefined") {
if (newWin.screenTop >= 10 && newWin.screenLeft >= 10) {
newWin.location = url;
newWin.moveTo(0, 0);
newWin.resizeTo(screen.availWidth, screen.availHeight);
}
window.opener = null;
window.open("", "_self");
window.close();
}
} else {
top.window.moveTo(0, 0);
if (document.all) {
top.window.resizeTo(screen.availWidth, screen.availHeight);
} else if (document.layers || document.getElementById) {
if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) {
top.window.outerHeight = top.screen.availHeight;
top.window.outerWidth = top.screen.availWidth;
}
}
}
}
toFull();
</script>
</head>
<body>
<p>我是一个普通的文本框1:<input type="text" id="txt1"></p>
<p>我是一个普通的文本框2:<input type="text" id="txt2"></p>
<iframe src="iframe.htm" width="300" height="150"></iframe>
<iframe src="iframe1.htm" width="300" height="150"></iframe>
</body>
</html>