处理ExtJS中iframe的链接

时间:2013-02-25 13:45:15

标签: html extjs

ExtJS - 2.0.2

我有一个使用ExtJs的html页面,其中包含我使用Ext.ux.ManagedIFrame创建的iframe。 iframe加载web / wiki页面,只要在这些子页面中单击“链接”,它就会用所需的链接替换整个浏览器窗口。我想加载在同一iframe中打开的所有页面,而不是在浏览器窗口中。

我的子页面是带有“a href”链接的简单html页面。可以这样做吗?

Parent Page
    head
    body
        ...
        ...
        iframe id="childiframe" (can't edit anything inside the iframe contents)
            head
            body
                ........
                <a href="www.google.com">Go</a> 
                <!--
                 When you click on the above link rather redirecting the whole 
                 browser to that link. I would just like the childiframe to reload
                 google.com
                 -->

0 个答案:

没有答案