Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

iframe content opening in a new window

Posted on 2014-07-24
2
470 Views
Last Modified: 2014-07-24
Below is the code present in my HTML page –

<iframe name="iframe1" src="https://*****.com/openui?SWECmd=GotoView&SWEView=Personal+Request+List+View" height="1000" width="1500">
  <p>Your browser does not support iframes.</p>
</iframe>

Open in new window


When I open this HTML page using IE browser, the URL mentioned in iframe's SRC is opening in a new IE window. It is working fine if I refer to any page on local host.

I verified the response header and i dont see "X-FRAME-OPTION" attribute in it. I read that this attribute is responsible for allowing the page to be displayed in an iFrame.

Why is the page opening in a new window instead of opening in iFrame?
0
Comment
Question by:Ravi Kalla
2 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 40216168
If it is not a site you control, they probably have code to prevent framing their content.   http://chandank.com/security/secure-apache-from-clickjacking-with-x-frame-options
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40216254
I agree with Scott.  I have several pages that will pop themselves out of a frame and into a new window.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
edit .asp files 5 31
jQuery Toggle & Anchor Links 5 43
Word, Excel, Access icons 4 17
Html input text color the frame line 2 20
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question