Link to home
Start Free TrialLog in
Avatar of cbnlkanes
cbnlkanes

asked on

How to display a portion of one website's page in a iframe in another website.

I want to show the body portion of website A on website's B page possibley using an iFrame. If anyone has any ideas, suggestiions or code allowing me to do this that would be great. Website A is using ASP pages where Website B does not. Hence the reason for displaying the body content on website B.
ASKER CERTIFIED SOLUTION
Avatar of Muhammad Kashif
Muhammad Kashif
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here is an example -

<html>
<title>CodeAve.com(iframe)</title>
<body bgcolor="#FFFFFF">
<center>
<p>
 
<a href="http://www.yahoo.com" target="iframe1">Yahoo.com</a> |
<a href="http://www.aol.com" target="iframe2">AOL.com</a> |
<a href="http://www.lycos.com" target="iframe1">Lycos.com</a> |
<a href="http://www.altavista.com" target="iframe2">AltaVista.com</a>
 
<p>
<div style="border: 10px solid red;">
<iframe
name="iframe1"
width="600"
height="400"
src="http://www.yahoo.com"
frameborder="3"
scrolling="yes" >
</iframe>
</div>
<div style="border: 10px solid green;">
<iframe
name="iframe2"
width="600"
height="400"
src="http://www.google.com"
frameborder="3"
scrolling="yes" >
</iframe>
 
</div>
 
</center>
 
</body>
</html> 

Open in new window

oops...MuhammadKashif tried to put the samething through links.