1. 在ifame中设置属性name
<iframe src="main.html" name="rightcontent" runat="server"></iframe>
2.在标签中指定跳转到的页面 href,最关键的是指定
target=”上面设置的属性值”,
这样就可以实现页面内跳转,而不是新启动一个页面。
<a href="second.html" target="rightcontent"> 内联框架跳转
1. 在ifame中设置属性name
<iframe src="main.html" name="rightcontent" runat="server"></iframe>
2.在标签中指定跳转到的页面 href,最关键的是指定
target=”上面设置的属性值”,
这样就可以实现页面内跳转,而不是新启动一个页面。
<a href="second.html" target="rightcontent"> 内联框架跳转