Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Luca kk
How to open a link inside an iframe to another page
July 18, 2012 5:48 AM
Answer

Luca kk

Rank: Expert

Posts: 284

Join Date: December 7, 2010

Recent Posts

Hi all,
normally if I insert an href link inside an iframe portlet
that link will open inside the iframe.
Is it possible to open that link in another page, not inside the iframe?

Thanks in advance
Hitoshi Ozawa
RE: How to open a link inside an iframe to another page
July 18, 2012 6:03 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Do you want to change the entire page containing the iframe portlet or show the content in a new window?
Tarkan Corak
RE: How to open a link inside an iframe to another page
July 18, 2012 6:10 AM
Answer

Tarkan Corak

Rank: Regular Member

Posts: 142

Join Date: October 7, 2008

Recent Posts

Have a look at Web Proxy Portlet. Unlike iFrame Portlet, it is possible to transform the HTML response of the page you try to integrate.
Luca kk
RE: How to open a link inside an iframe to another page
July 18, 2012 8:10 AM
Answer

Luca kk

Rank: Expert

Posts: 284

Join Date: December 7, 2010

Recent Posts

Hi Hitoshi,
thanks for reply.
I want to show the content in a new window.
Luca kk
RE: How to open a link inside an iframe to another page
July 18, 2012 8:31 AM
Answer

Luca kk

Rank: Expert

Posts: 284

Join Date: December 7, 2010

Recent Posts

Hi Tarkan,
what is web proxy portlet?
I can't see it in portlet list.
Hitoshi Ozawa
RE: How to open a link inside an iframe to another page
July 18, 2012 3:11 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

It's under samples.

Information on web proxy portlet available at the following page:
http://www.liferay.com/community/wiki/-/wiki/Main/Web+Proxy+Portlet
Hitoshi Ozawa
RE: How to open a link inside an iframe to another page
July 18, 2012 3:24 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I want to show the content in a new window.


I haven't tried this yet but have you tried appending url with target=_blank