【发布时间】:2011-12-14 23:10:24
【问题描述】:
我想做的是将网站嵌入到我的网站中。当您在他们的页面上搜索某些内容时,他们的嵌入站点会通过他们的页面重定向,尽管它仍然会在我的网页上。任何帮助将不胜感激。我已经与这个网站合作,他们不知道如何自己做。
如果这令人困惑,我很抱歉。如果有帮助,这里是一个例子
<html>//my site
<header>//my site
</header>//my site
<body>//my site
//where embed website is with their page redirects and search engine
</body>//my site
</html>//my site
当您在他们的网站上搜索或转到他们网站上的页面链接时。方式上应该是这样的。
<html>//my site
<header>//my site
</header>//my site
<body>//my site
//new page on the embed site after redirect
</body>//my site
</html>//my site
任何我可以去的想法或地方都可以帮助我解决这个问题。
【问题讨论】:
-
看看frames 可能吗?
-
这篇 mdn 文章 From object to iframe — other embedding technologies 可能有用