Heim  >  Artikel  >  Web-Frontend  >  iframe实现的框架_html/css_WEB-ITnose

iframe实现的框架_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:45808Durchsuche

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

点击菜单后,显示的图片

main.html
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">



物业管理系统



  
  
  

<br> <br>

left.html



无标题文档




  
    
    
  
 
      
        
      
      
      
      
    
 
短信群发



center.html



无标题文档

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





  
    
    
    
    
  

iframe实现的框架_html/css_WEB-ITnose  



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

回复讨论(解决方案)

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

短信群发

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

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

showbo正解

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

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

短信群发

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

target= "I1"

谢谢了,原本我写错名称了,取的是ID了

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn