For 1st page call:
function
var popup = Liferay.Popup(
{
stack: true,
draggable:false,
title: 'Parent Page',
position:[110,50],
modal:true,
width:450,
height:365,
url:url
}
);
}
here stack:true property is important which is responsible for pop on popup.url is which page we want to load . It can be portlet url. Other parameters are self explanatory.
In child page you can simply write another popup.
function
var popup = Liferay.Popup(
{
title: 'Child Page',
position:[110,50],
modal:true,
width:450,
height:365,
url:url
}
);
}
Thanks and Hope this help few people.
2 comments:
Hello sir,
Nice post, in fact I was looking for it...
Thanks and Regards...
Hello sir, I am doing similar functionality in my portal but when I launch popup in my home page the other portlets are invisible and not displaying anything in page other than my popup even after closing the popup the home page remains black my other contents are not displaying so please help me....
my email id is : harshal1900@gmail.com
Post a Comment