ie8 iframe支持问题

<table border="0" cellPadding="0" cellSpacing="0" height="100%"
    width="100%">
    <tr>
        <td align="middle" id="navigation" valign="center" name="frametitle"
            width="180"><iframe name="leftmenu" frameborder="0"
            src="menuListMenu.action?frameon=no" scrolling="no"
            style="height: 100%; visibility: inherit; width: 180px; z-index: 1"
            οnkeydοwn="refreshrightframe(event)"></iframe>
        <td align="right" style="width: 100%">
        <table id="switchbar" border="0" cellPadding="0" cellSpacing="0"
            width="11" height="100%"
            style="position: absolute; left: 180px; background-repeat: repeat-y;">
            <tr>
                <td onClick="framebutton()"><img id="frameswitch"
                    src="../imgs/none.gif" alt="" border="0" width="11" height="49" /></td>
            </tr>

        </table>
        <iframe frameborder="0" scrolling="yes" name="main"
            src="main.jsp?frameon=no"
            style="height: 100%; visibility: inherit; width: 99%; z-index: 1; overflow: auto;"
            οnkeydοwn="refreshrightframe(event)"></iframe></td>
    </tr>
</table>

 用了一种这样的方式来支持iframe,发现当main框架里有一颗树的时候,程序会出问题,那就是左边的整个页面不见了。。。。测试到ie7下,正常的。
在尝试多次以后无果。
改成csdn的模式了。

<frameset id="sidebar_content" cols="225, *" frameborder="1" border="6" framespacing="5" bordercolor="#A1C7F9" bgimage="../imgs/none.gif" >
    <frame name="leftmenu" src="menuListMenu.action" scrolling="no" frameborder="1"/>
    <frame name="main" src="main.jsp" frameborder="0" />
</frameset><noframes></noframes>
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值