Computer Hope

Internet & Networking => Web design => Topic started by: Truffaldino on October 08, 2011, 10:57:25 AM

Title: Embedded HTML page
Post by: Truffaldino 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!
Title: Re: Embedded HTML page
Post by: Geek-9pm 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,
Title: Re: Embedded HTML page
Post by: Truffaldino 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.
Title: Re: Embedded HTML page
Post by: Truffaldino 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.
Title: Re: Embedded HTML page
Post by: kpac on October 08, 2011, 02:14:05 PM
Why not just use an iframe?
Title: Re: Embedded HTML page
Post by: Mellie94 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?
Title: Re: Embedded HTML page
Post by: kpac 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.