如果我将大iframe与大iframe中的所有内容放在同一页面上,那么我可以将搜索结果放到大iframe上吗?
它的任何代码?
答案 0 :(得分:2)
如果我理解你,你想要一个iframe与其他页面的搜索结果
<form target='theFrame' method='GET' action='http://www.google.nl/search'>
<input type='text' name='q'/>
<input type='submit' value='Google it'/>
</form>
<iframe name='theFrame'></iframe>
这个例子是通过谷歌搜索完成的。
答案 1 :(得分:0)
可以在iframe中放置iframe,但第二个iframe的样式必须位于第一个iframe链接到的页面上,因为第二个iframe与第一个iframe位于不同的页面上。 (如果我理解你的问题)希望这有助于:)