Computer Hope
Internet & Networking => Web design => Topic started 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!
-
Have you already looked at tis?
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,
-
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.
-
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.
-
Why not just use an iframe?
-
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?
-
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.