当前位置: 代码迷 >> ASP.NET >> 像csdn的这个论坛,切分成左右两半,然后在里面嵌入网页,用ASP.net如何实现?
  详细解决方案

像csdn的这个论坛,切分成左右两半,然后在里面嵌入网页,用ASP.net如何实现?

热度:3403   发布时间:2013-02-25 00:00:00.0
像csdn的这个论坛,切分成左右两半,然后在里面嵌入网页,用ASP.net怎么实现??
我还想把右边又分成上下两半,里面都嵌入了网页,怎么做??
各位高手请赐招~~~~~~

------解决方案--------------------------------------------------------
框架啊。。framset
------解决方案--------------------------------------------------------
用菜刀
^_^
用iframe试试吧
------解决方案--------------------------------------------------------
Frame 就行啊


<script>
if(self!=top){top.location=self.location;}
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all( "frmTitle ").style.display= "none "
}else{
switchPoint.innerText=3
document.all( "frmTitle ").style.display= " "
}}
</script>

<table border= "0 " cellPadding= "0 " cellSpacing= "0 " height= "100% " width= "100% ">
<tr>
<td align= "middle " noWrap vAlign= "center " id= "frmTitle ">
<iframe frameBorder= "0 " id= "carnoc " name= "carnoc " scrolling=no src= "LeftTree.aspx " style= "HEIGHT: 100%; WIDTH: 170px; Z-INDEX: 2 ">
</iframe>
</td>
<td bgcolor= "A4B6D7 " style= "WIDTH: 9pt ">
<table border= "0 " cellPadding= "0 " cellSpacing= "0 " height= "100% ">
<tr>
<td style= "HEIGHT: 100% " onClick= "switchSysBar() ">
<font style= "FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff ">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<span class= "navPoint " id= "switchPoint " title= "关闭/打开左栏 "> 3 </span> <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
屏幕切换 </font> </td>
</tr>
</table>
</td>
<td style= "WIDTH: 100% ">
<iframe frameborder= "0 " id= "main " name= "top " scrolling= "no " src= "Inc/Top.aspx " style= "HEIGHT: 4%; WIDTH: 100%; Z-INDEX: 1 "> </iframe>
<iframe frameborder= "0 " id= "Iframe1 " name= "main " scrolling= "yes " src= "CheckServer.aspx " style= "HEIGHT: 96%; WIDTH: 100%; Z-INDEX: 1 "> </iframe> </td>
</tr>
</table>

<script>
if(window.screen.width < '1024 '){switchSysBar()}
</script>
</body>
</html>
------解决方案--------------------------------------------------------
要簡單實現的話, lz用dw,里面有可以新建立框架,有好幾個模式給你選。 你建立了。然后拷貝到vs中就可以了。
------解决方案--------------------------------------------------------
framset,iframe,用户控件...都可实现
------解决方案--------------------------------------------------------
框架。。或者你内嵌iframe、DIV 等对象都可以达到这个效果。
------解决方案--------------------------------------------------------
Marster就可以这样了,加入自定义控件就可以了
------解决方案--------------------------------------------------------
  相关解决方案