iframe婊氬姩鏉¢殣钘� 濡備綍闅愯棌鏄剧ずiframe
濡備綍闅愯棌鏄剧ずiframe聽聽
涓嬮潰鏄�闅愯棌鏄剧ず鐨勪唬鐮侊細
index.
<>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/; charset=gb2312">
<meta name=GENERATOR content="Microsoft FrontPage 4.0">
<meta name=ProgId content="FrontPage.Editor.Document">
<title>frame妗嗘灦鐨勬樉绀洪殣钘忔搷浣� - 51windows</title>
</head>
<frameset name=full rows="64,*,64">
<frame name=top scrolling="no" xnoresize target="contents" src=top.>
<frameset cols="25%,*" name=cen>
<frame name=contents target="main" src=left.>
<frame name=main src=main.>
</frameset>
<frame name=bottom scrolling="no" xnoresize target="contents" src=bottom.>
<noframes>
<body>
<p>姝ょ綉椤典娇鐢ㄤ簡妗嗘灦锛屼絾鎮ㄧ殑娴忚�堝櫒涓嶆敮鎸佹�嗘灦銆�
</p>
</body>
</noframes>
</frameset>
</>
main.
<>
<head>
<meta -equiv="Content-Type" content="text/; charset=gb2312">
<meta name=GENERATOR content="Microsoft FrontPage 4.0">
<meta name=ProgId content="FrontPage.Editor.Document">
<title>main - 51windows</title>
</head>
<body>
<SCRIPT LANGUAGE="javascript">
<!--
function shtop{
if (parent.full.rows.indexOf("0,*,")!=-1){
parent.full.rows="64,*,"+parent.full.rows.split(",")[2]
document.getElementById("shtop").value="闅愯棌涓婇儴";
}
else{
parent.full.rows="0,*,"+parent.full.rows.split(",")[2]
document.getElementById("shtop").value="鏄剧ず涓婇儴";
}
}
function shleft{
if (parent.cen.cols=="0,*"){
parent.cen.cols="25%,*,"
document.getElementById("shleft").value="闅愯棌宸﹂儴";
}
else{
parent.cen.cols="0,*"
document.getElementById("shleft").value="鏄剧ず宸﹂儴";
}
}
function shbottom{
if (parent.full.rows.indexOf(",*,0")!=-1){
parent.full.rows=parent.full.rows.split(",")[0]+",*,64"
document.getElementById("shbottom").value="闅愯棌涓嬮儴";
}
else{
parent.full.rows=parent.full.rows.split(",")[0]+",*,0"
document.getElementById("shbottom").value="鏄剧ず涓嬮儴";
}
}
function maxmain{
if (parent.full.rows=="0,*,0"){
parent.full.rows="64,*,64"
parent.cen.cols="25%,*"
document.getElementById("maxmain").value="闅愯棌宸︿笂涓�";
document.getElementById("shtop").value="闅愯棌涓婇儴";
document.getElementById("shleft").value="闅愯棌宸﹂儴";
document.getElementById("shbottom").value="闅愯棌涓嬮儴";
}
else{
parent.full.rows="0,*,0";
parent.cen.cols="0,*";
document.getElementById("maxmain").value="鏄剧ず宸︿笂涓�";
document.getElementById("shtop").value="鏄剧ず涓婇儴";
document.getElementById("shleft").value="鏄剧ず宸﹂儴";
document.getElementById("shbottom").value="鏄剧ず涓嬮儴";
}
}
//-->
</SCRIPT>
<input type=button name=maxmain id="maxmain" onclick="maxmain;" value="闅愯棌宸︿笂涓�">
<input type=button name=shtop id="shtop" onclick="shtop;" value="闅愯棌涓婇儴">
<input type=button name=shleft id="shleft" onclick="shleft;" value="闅愯棌宸﹂儴">
<input type=button name=shbottom id="shbottom" onclick="shbottom;" value="闅愯棌涓嬮儴">
</body>
</>
妗嗘灦鐨勫祵濂�:
<>
<head>
</head>
<body>
<iframe width=468 height=60 src=abc.aspx></iframe>
<iframe width=468 height=60 src=cde.aspx></iframe>
</body>
</>
#################################################
<>
<head>
<meta -equiv="content-type" content="text/; charset=gb2312">
<title>鏃犳爣棰樻枃妗�</title>
</head>
<frameset rows="77,181" cols="*" framespacing="0" border=0>
<frame src=abc.aspx>
<frame src=cde.aspx>

</frameset>
<noframes><body>
</body></noframes>
</>
//*****************璇存槑************************锛�
frameset鏄�妗嗘灦锛屼竴涓�缃戦〉琚�鍒掑垎鎴愬嚑涓�鍧楋紝 姣忎釜鍧椾负涓嶅悓鐨勭綉椤垫枃浠躲€�
iframe鏄�鍐呭祵缃戦〉锛屽彲浠ヨ��宓屽湪涓€涓�椤甸〉鐨勪换浣曞湴鏂广€�
涓€鑸琲frame浣跨敤鐏垫椿浜涖€�
褰撲娇鐢ㄦ�嗘灦鏃堕〉闈�涓�涓嶅簲璇ユ湁body鏍囩�俱€�
frameset鏍囩�炬槸鎴愬�瑰嚭鐜扮殑,浠�<frameset>寮€濮�,</frameset>缁撴潫锛岄噷闈㈢敤frame銆�
frameset閲岄潰杩樿兘宓屽叆frameset銆�
宓屽�楁�嗘灦,妗嗘灦鍙�浠ヨ繘琛屽�氬眰宓屽�椼€�
frameset閲岄潰鐨刬d,涓轰簡鏂逛究鍚庨潰鐢↗avascript鏉ヨ�块棶杩欎釜瀵硅薄.
濡備笅锛�
<frameset rows="58,*" frameborder="NO" border=0 framespacing="0">
<frame src=top. name=topFrame scrolling="NO" noresize ><!--椤靛ご-->
<frameset rows="*,20" cols="*" framespacing="0" frameborder="NO" border=0>
<frameset rows="*" cols="120,15,*" framespacing="0" frameborder="NO" border=0 id="leftFrameSet">
<frame src=menu. name=leftFrame scrolling="NO" noresize><!--鑿滃崟-->
<frame src=mid. name=midFrame scrolling="NO" noresize><!--鑿滃崟鏀剁缉鏉�-->
<frameset rows="35,*" framespacing="0" frameborder="NO" border=0>
<frame src=navi. name=righttop scrolling="NO" noresize><!--瀵艰埅-->
<frameset cols="*,200" framespacing="0" frameborder="NO" border=0>
<frame src= name=mainFrame>
<frame src= name=rightFrame scrolling="NO">
</frameset>
</frameset>
</frameset>
<frame src=bottom. name=bottomFrame scrolling="NO" noresize><!--椤靛熬-->
</frameset>
</frameset>