Home  >  Article  >  Web Front-end  >  如何通过导航栏按钮实现对 iframe标签所嵌入网页内容的加载控制_html/css_WEB-ITnose

如何通过导航栏按钮实现对 iframe标签所嵌入网页内容的加载控制_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:40:471849browse

最近用到了iframe标签,但我只会直接嵌入一个静态的页面啊,就像这样:
 


回复讨论(解决方案)

好吧没人回答,这个问题已经被我自己解决了

在iframe标签里加一个name=XXX

然后在超链接的标签里加一个target=XXX,让它们对应起来,
就可以在点击超链接的时候让iframe里面的页面发生对应的改变。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn