You need to sign in to do that
Don't have an account?

Creating a Visualforce Popup window without Salesforce header and sidebar
Hi,
I want to display a pop up window on click of a button.
I am using this code but this is displaying a proper Salesforce page with all tabs and sidebars. What should i change in this code to remove sidebars and tabs on the popup window.
window.open(url,"Homepage","resizable=yes,status=yes,scrollbars=no,width=800,height=400,target=_blank");
Thanks
Yuvika
Hi Yuvika,
I think that 'url' is a variable like-
url = "/apex/YourPage?VariableName=Value&SecondVariableName=SecondValue";
in
window.open(url,"Homepage","resizable=yes,status=yes,scrollbars=no,width=800,height=400,target=_blank");
if yes-
url = "/apex/YourPage?VariableName=Value&SecondVariableName=SecondValue";
then edit pop up visualforce page (given in url as above in color) and modify <apex:page> componenent as following-
<apex:page sidebar="false" showHeader="false">
/** if this post helps you, please throw a kudos by clicking star on left**/
Thanks
www.grazitti.com