Matt Elhotiby
Matt Elhotiby

Reputation: 44066

iframe in a full url?

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

Upvotes: 0

Views: 155

Answers (2)

Utkarsh Sinha
Utkarsh Sinha

Reputation: 3305

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

Upvotes: 0

Justin Niessner
Justin Niessner

Reputation: 245429

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>

Upvotes: 5

Related Questions