How to display website using IFRAME

Posted by Mandlaa under HTML 5 on 9/26/2013 | Points: 10 | Views : 7883 | Status : [Member] | Replies : 13
<!DOCTYPE >
<html>

<head>
<title>HTML Test</title>
</head>

<body>
<a href=https://plus.google.com/100425604431049908688/about>Example</a>

</body>
</html>
I am writting this above code for displying website in FRame,But not displying




Responses

Posted by: Jayakumars on: 9/26/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

Some Url Did not allow src in iframe because security reason use this code

<iframe id="ifrm1" runat ="server" src="https://dotnetfunda.com/"></iframe>
<iframe id="Iframe1" runat ="server" src="https://plus.google.com/"></iframe>

Mark as Answer if its helpful to you

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/26/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
<iframe runat="server" src="http://www.google.com" width="200" height="200"></iframe>


Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 9/26/2013 [Member] Starter | Points: 25

Up
0
Down
<div>
<iframe id="ifrm1" runat ="server" src="https://dotnetfunda.com/"></iframe>
<br />
<br />
<iframe id="Iframe1" runat ="server" src="https://plus.google.com/"></iframe>
<br />
<iframe id="Iframe2" runat="server" src="https://google.com" width="200" height="200"></iframe>
</div>

not working


Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 9/26/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

try this

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function TestClr() {
window.open('https://plus.google.com/');
return false;
}
</script>
</head>
<body>
<form id="form1" runat="server">

<asp:TextBox ID="Txt1" runat ="server" ></asp:TextBox>

<asp:Button ID="bt1" runat ="server" OnClientClick ="return TestClr();" Text ="Color" />

</form>
</body>
</html>


Security reason not loaded with iframe

Mark as Answer if its helpful to you

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 9/26/2013 [Member] Starter | Points: 25

Up
0
Down
I want to display That one Iframe only

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/26/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://forums.asp.net/t/1604127.aspx?Hide+src+of+IFRAME+in+ASP+NET+Page
http://www.etechpulse.com/2013/05/how-to-work-with-iframe-using-jquery.html
http://www.capada.org/Other/LoadWebpagebyCIframesdynamically.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/26/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer this link
http://www.afterlogic.com/wiki/Integrating_into_another_web_application_(WebMail_Lite_5_.NET)
http://geekswithblogs.net/ranganh/archive/2005/04/25/37635.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/26/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
<html> 


<head>
<title>HTML Test</title>
</head>

<body>
<iframe id="ifrm1" runat ="server" src="http://www.dotnetfunda.com/forums/show/16438/how-to-display-website-using-iframe"></iframe>
</body>
</html>


The above HTML code is working for me

Reference:
http://www.w3schools.com/html/html_iframe.asp
http://www.webdeveloper.com/forum/showthread.php?108520-Show-part-of-webpage-in-iframe

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 9/26/2013 [Member] Starter | Points: 25

Up
0
Down
This is my code not working
<html>

<head>
<title>HTML Test</title>
</head>

<body>
<iframe height="800" width="800" id="ifrm1" runat ="server" src="https://plus.google.com/100425604431049908688/about"></iframe>
</body>
</html>

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 9/26/2013 [Member] Starter | Points: 25

Up
0
Down
for me

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/26/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Are you able to open up "https://plus.google.com/100425604431049908688/about" link?

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 9/26/2013 [Member] Starter | Points: 25

Up
0
Down
yes,I want open that link


Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 9/27/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Check if you getting any error in you mozilla error console?

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response