function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shubhi106shubhi106 

How can I show some contents of the vfpage in popup box when I can't access their url and without using css?

Hi all!
I am a newbie. I am working on inline vfpage and the detail page. I want to show some contents written in the inline vfpage in the pop up box on the standard detail page of contact. I used the css method to resolve it but that doesn't work.
https://developer.salesforce.com/forums/?id=906F000000097X9IAI
Also I can't use the approach where I define a new vfpage and then use url of new vfpage inside the window.open() by using javascript because the requirement is I can't use its url also since not getting the parent url.

Any help would be highly appreciated. 
Regards.
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,

You can find detailed instructions on how to create a popup or modal window here:

hope it will be helpful.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar
 
shubhi106shubhi106
Hi thanks for the reply. But as I mentioned earlier I have tried this solution but it doesn't work for me. Please tell me another way to solve this issue.