在我的页面里有个frame 然后在这个框架里有链接,当点击链接的时候新的链接就会出现在原来的frame里。

2025-02-21 10:20:05
推荐回答(2个)
回答1:

父页面刷新是:
window.parent.location.href="index.html";

另一个iframe刷新是:
window.parent.frames[i].location.href="index.html";
i就是代表第几个iframe;

回答2:

链接后面的增加 target="_top",如: