比如我在index.html的一些链接:iframe src更改
<a href="message.html">Go to message page</a>
在其他页面,Iframe.html的我有一个IFRAME:
<iframe id="iframe" src="profile.html" frameborder="0" scrolling="no"></iframe>
能不能做到,这样,当我点击“转到消息页面”链接时,它会将我重定向到iframe.html并将iframe src更改为message.html?
如果可以的话,这样做在服务器端 – Alexander
@Defense:见我的回答如下一个简单的解决方案。 –
@Alexander and Defense:在我的回答中提到的解决方案如何? –