Ravi Kalla
asked on
iframe content opening in a new window
Below is the code present in my HTML page –
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?
<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>
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I agree with Scott. I have several pages that will pop themselves out of a frame and into a new window.