Fórum

RE: iFrame not working

gordon daniels, modificado 10 Anos atrás.

RE: iFrame not working

Liferay Master Postagens: 797 Data de Entrada: 24/08/08 Postagens Recentes
Well, I found where Jonas had posted this as a bug but they will not fix it. It seems some web sites will not let you embed their site. However, the site I am trying to use with iframe works perfectly with 6.1.1ga2 but not with 6.1.2ga3. So, I don't think its the sites but its liferay.
thumbnail
Ankit Kulshrestha, modificado 10 Anos atrás.

RE: iFrame not working

Junior Member Postagens: 28 Data de Entrada: 22/05/13 Postagens Recentes
Hi Gordon,

I think there is no problem with the Iframe Portlet. Many of the popular websites have implemented Iframe Busting Scripts to avoid embedding of the sites under Iframe. Here is a Wiki link to FrameKiller Techniques.

Even if you simply create a HTML file with following code you will get same result.
<iframe src="http://www.google.com"></iframe>
gordon daniels, modificado 10 Anos atrás.

RE: iFrame not working

Liferay Master Postagens: 797 Data de Entrada: 24/08/08 Postagens Recentes
Ankit: Yes there are many sites that block iframe. I was really trying to speak to the sizing issue when doing cross domain.