Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Embedded HTML page  (Read 4306 times)

0 Members and 1 Guest are viewing this topic.

Truffaldino

    Topic Starter


    Starter

    • Experience: Beginner
    • OS: Unknown
    Embedded HTML page
    « on: October 08, 2011, 10:57:25 AM »
    I'm displaying a view of some pages within a different page  on my site by embedding them with an object tag. It works perfectly in Firefox but in IE when any links are clicked it navigates to the linked page as a new window in the browser. I want the linked pages to appear within the embedded window. It does this regardless of what I make the targets in the links and (as I said) it only happens in IE.

    Is there a way to code either the <object> tag or the links so that everything displays in the parent window in both Firefox and IE? The embedded pages are only being used for this purpose.

    Thanks!

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Embedded HTML page
    « Reply #1 on: October 08, 2011, 11:42:12 AM »
    Have you already looked at tis?

    Quote
    HTML tips: Embedding Web Pages within Web Pages
    www.web-source.net/embedding_web_pages.htm
    If you're looking for a way to display a web page within a web page, this HTML code may be just what you're looking for. As you can see in the example below,

    Truffaldino

      Topic Starter


      Starter

      • Experience: Beginner
      • OS: Unknown
      Re: Embedded HTML page
      « Reply #2 on: October 08, 2011, 01:47:39 PM »
      Thanks for replying!

      That's the exact code that I used. It displays the pages fine in both Firefox and IE. However, in Firefox when a link in the embedded page is clicked, it opens within the object window of the parent page (which is what I want). In IE, the link opens as a new parent page.

      Truffaldino

        Topic Starter


        Starter

        • Experience: Beginner
        • OS: Unknown
        Re: Embedded HTML page
        « Reply #3 on: October 08, 2011, 02:01:46 PM »
        I found the problem.  The coding worked with regular <a href="***"> links. The problem occurred when I used Flash SWF buttons. I'll just go back to traditional links.

        kpac

        • Web moderator
        • Moderator


        • Hacker

        • kpac®
        • Thanked: 184
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 7
        Re: Embedded HTML page
        « Reply #4 on: October 08, 2011, 02:14:05 PM »
        Why not just use an iframe?

        Mellie94



          Starter

          • Experience: Beginner
          • OS: Unknown
          Re: Embedded HTML page
          « Reply #5 on: November 01, 2011, 04:47:15 AM »
          I have a web page that needs another page included. The included page height will need to be adjusted as there are some radio buttons and dropdown boxes that will result in the embedded page being expanded. Any ideas?
          { Ring bearer and Flower Girl Tips }
          Charm Bracelets For Girls

          kpac

          • Web moderator
          • Moderator


          • Hacker

          • kpac®
          • Thanked: 184
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 7
          Re: Embedded HTML page
          « Reply #6 on: November 01, 2011, 05:27:39 AM »
          I have a web page that needs another page included. The included page height will need to be adjusted as there are some radio buttons and dropdown boxes that will result in the embedded page being expanded. Any ideas?
          Please start your own topic for this question, as well as your other questions.