Jump to content

iframe doesn't open in a parent window


Recommended Posts

Hello

 

I would like to add iframe as HTML code in CMS page and to open in a parent window

 

Example:

<iframe src="http://google.com/" width="100%" height="400" frameborder="0" scrolling="no" target="_parent"></iframe>

 

When I write the code above and press OK .. I see (target="_parent") has been removed automatic

 

I disabled the "HTML Purifier" from Preferences -> General .. Also I still couldn't add this code!

 

How can I do that..?

Edited by ImperialTrader (see edit history)
Link to comment
Share on other sites

Hi vekia, I've followed your tutorial and I see the extended text editor, though when adding a target="_parent" to the link and saving the CMS page  - it is being removed. Any thoughts on this?

 

hello

in my guide you can find this line:

 

valid_children: "+body[style|script],pre[script|div|p|br|span|img|style|h1|h2|h3|h4|h5],*[*]",

add there target

valid_children: "+body[style|script|target],pre[script|div|p|br|span|img|style|h1|h2|h3|h4|h5],*[*]",

should work

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...