Results 1 to 4 of 4

Thread: Display webpage in iframe

  1. #1
    Join Date
    Nov 2009
    Posts
    95

    Display webpage in iframe

    Hello,

    I have created a web page using HTML. Now my problem is that I want to display a webpage in the iframe that is inline frame. Instead of displaying the link i want to display the webpage in iframe. Is it possible by any mean and if the answer is yes then pass me the code to do the same.

    Thanks in advance..

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Display webpage in iframe

    Just enter this code into you html editor. It will help you out to display the code in iframe.
    1. window.onload=function()
    2. {
    3. if(top.location.href.indexOf('inlineframe.html')== -1)
    4. {
    5. location.href='inlineframe.html'
    6. };
    7. };


    Hope it will work

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    Re: Display webpage in iframe

    I actually don't know how to do that but i will suggest you one thing increase the size of the the iframe so that a webpage can display into it without showing any link of it so do this will help you out. Just set the size of the the iframe to 800px so that your web page will fit into it.

    Try this and let me know it will work

  4. #4
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Display webpage in iframe

    iframe is acronym as the Inline Frame. It basically define other document inside its frame. Here is the syntax for the iframe
    • <iframe src ="Inline.htm" width="50%" height="100">
    • <p>Inline Frame.</p>
    • </iframe>


    But the HTML 4.1 does not support iframe.

Similar Threads

  1. How to include Webpage into your main page without using iFrame
    By Sanju Baba in forum Software Development
    Replies: 4
    Last Post: 20-01-2012, 10:56 AM
  2. Internet Explorer cannot display webpage
    By No. 4 in forum Windows Vista Performance
    Replies: 3
    Last Post: 01-01-2011, 12:51 AM
  3. Internet Explorer Cannot Display The Webpage
    By Leeland in forum Technology & Internet
    Replies: 6
    Last Post: 19-05-2010, 01:01 AM
  4. To display webpage inside another webpage
    By Faakhir in forum Technology & Internet
    Replies: 3
    Last Post: 24-03-2009, 10:59 AM
  5. Replies: 9
    Last Post: 29-11-2008, 07:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,853,256.43893 seconds with 17 queries