好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

iframe实现的框架_html/css_WEB-ITnose

iframe实现的框架,分左边菜单,右边显示内容区域。 点击可以收缩左边的菜单。现在功能可以实现了,但是点击左边菜单,显示页面不是在右边显示。却是在左边区域显示了。这个要怎改呢?

点击菜单后,显示的图片

main.html




物业管理系统











left.html



无标题文档

body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->











短信群发






center.html



无标题文档

body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
overflow:hidden;
}
-->


.navPoint {
COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt
}


function switchSysBar(){
var locate=location.href.replace('center.html','');
var ssrc=document.all("img1").src.replace(locate,'');
if (ssrc=="https://img.images/main_18.gif")
{
document.all("img1").src="images/main_18_1.gif";
document.all("frmTitle").style.display="none"
}
else
{
document.all("img1").src="https://img.images/main_18.gif";
document.all("frmTitle").style.display=""
}
}











 




还有两个top.html和down.html的


回复讨论(解决方案)

短信群发
会跳转当前页面吗

短信群发

短信群发
会跳转当前页面吗

会跳转,但是不是在右边框架里显示,而是在左边显示了

showbo正解

短信群发
设置target=“mainFrame”跳转的页面把左边的菜单也遮住了,就是菜单没显示出来了。

showbo正解
设置target=“mainFrame”跳转的页面把左边的菜单也遮住了,就是菜单没显示出来了。
http://download.csdn.net/detail/qq1162264610/6704281(这里是html代码)

短信群发

要设置为iframe,你中间页面不是还有3个iframe,要直到最右边那个I2的iframe

name= "I1"....
target= "I1"

谢谢了,原本我写错名称了,取的是ID了 name="I1" id="">
target="I1"

查看更多关于iframe实现的框架_html/css_WEB-ITnose的详细内容...

  阅读:32次