Open a Page in Popup Modal Dialog Window in SharePoint 2013

Requirement: Open a page in the Modal Popup window in a SharePoint 2013 web site.

JavaScript to open popup in sharepoint 2013

Solution:

The requirement is to open the “Terms and Conditions” page in a popup window on clicking the link. Used this HTML code to open a page in a modal popup window in SharePoint 2013:

<a href="#" onclick="OpenPopUpPageWithTitle('https://crescent.com/sitepages/terms.aspx', null, 600, 600,'Terms & Conditions')"/> Terms and Conditions </a>

and here is the result:
SharePoint 2013 open page in popup

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

3 thoughts on “Open a Page in Popup Modal Dialog Window in SharePoint 2013

  • 1) Where the title Terms & Conditions appears, I have nothing, 2) right below that space I have a line across the page. Is there a parameter to just remove the title space?

    Reply
  • $(“#s4-ribbonrow”).hide();

    Reply
  • is thee a way to remove the ribbon when using this in SharePoint 2013?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *