Home  >  Article  >  Web Front-end  >  The framework implemented by iframe_html/css_WEB-ITnose

The framework implemented by iframe_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:45812browse

The framework implemented by iframe is divided into a menu on the left and a content area on the right. Click to shrink the menu on the left. Now the function can be implemented, but when clicking the left menu, the displayed page is not displayed on the right. But it is displayed in the left area. How to change this?

After clicking the menu, the picture displayed

main.html


< ;head>

Property Management System







< ;noframes>



left.html



Untitled Document




 
         
                                                                                                  "20" style="cursor:hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "onmouseout="this.style.borderStyle= 'none'">Group SMS

                                                                     
center.html



Untitled Document

 
<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>





  

    

浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。
    
     浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。
     
  




还有两个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了
target="I1"

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn