开发者

iframe in a full url?

开发者 https://www.devze.com 2023-01-26 13:47 出处:网络
I need to use an iframe to pull in a 开发者_开发问答page from another site but i dont know how to show a page from siteb.com on sitea.com

I need to use an iframe to pull in a 开发者_开发问答page from another site but i dont know how to show a page from siteb.com on sitea.com

any ideas


Just set the source of the iframe to the site from the other domain. For example, if this was on a page from sitea:

<iframe src="http://siteb.com/some/path/page.html"></iframe>


You could load the page from the other site onto your server. Then, display the page you downloaded on your server.

0

精彩评论

暂无评论...
验证码 换一张
取 消