zoukankan      html  css  js  c++  java
  • asp.net 的框架问题 使多个页面在同一个页面中显示

    框架页

    <iframe src="left.aspx" scrolling="no" name="left" style=" height: 900px; 150px;" ></iframe>

      <iframe src="newsList.aspx" scrolling="yes" name="main"  style="height: 900px; 550px" id="IFRAME1" onclick="return IFRAME1_onclick()" ></iframe>

    left页面代码

            <table style="height: 100px">
                <tr>
                    <td style=" 100px; height: 12px; text-align: center; background-color: #ccccff;">
                     
                    <a href="newsList.aspx" target="main" > 信息修改</a>&nbsp;<br />
                       
                        <br />
                      <a href="alterpwd.aspx" target="main" ></a>  
                        <br />
                    </td>
                </tr>
                <tr>
                    <td style=" 100px; height: 23px; text-align: center; background-color: #ccccff;">
                        <span style="color: #0000ff; text-decoration: underline"> <a href="addNews.aspx" target="main" >添加信息</a><br />
                            <br />
                        </span>
                        <br />
                    </td>
                </tr>
                <tr>
                   <td style=" 100px; height: 23px; text-align: center; background-color: #ccccff;">
                        <span style="color: #0000ff; text-decoration: underline; background-color: #ccccff;"> <a href="alterpwd.aspx" target="main" >修改密码</a><br />
                            <br />
                            <br />
                        </span></td>
                </tr>
               
            </table>

    本例中main是重点,当然可以换成其他的名称,

  • 相关阅读:
    HDU-4514 湫湫系列故事——设计风景线 手动扩栈
    HDU-4511 小明系列故事——女友的考验 floyd变种-标号递增最短路
    Codeforces Round #199 (Div. 2)
    HDU-4507 吉哥系列故事——恨7不成妻 数位DP
    ZOJ-2342 Roads 二分图最小权值覆盖
    C++题目一道: 重载`->': 您真的懂成员访问运算符的重载吗?
    FCEUX金手指加强版
    原码,反码与补码之间的转换简记
    stm32开发
    Windows中"打开方式..."无法指定程序的解决办法
  • 原文地址:https://www.cnblogs.com/lzhp/p/2680826.html
Copyright © 2011-2022 走看看