Link to home
Start Free TrialLog in
Avatar of Ravi Kalla
Ravi KallaFlag for India

asked on

iframe content opening in a new window

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?
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I agree with Scott.  I have several pages that will pop themselves out of a frame and into a new window.