Creating pop-ups on SharePoint

Jayde F 1 Reputation point
2022-08-05T04:11:19.387+00:00

Is there a way to create pop-ups within a SharePoint site? For example, if a user clicks on a Quick link - instead of taking the user to an entirely new page with the content, can the content be displayed in a pop-up window? I am trying to reduce the need for users of our site to have to constantly click the 'Back' button on their browser to get back to the Quick links page. The ability to create a pop-up window, that the user simply has to press 'X' to exit, would be a great option.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,227 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,693 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,116 Reputation points
    2022-08-08T07:46:38.2+00:00

    Hi @Jayde F ,

    According to my research and testing, you can follow these steps to create Modal Dialog Pop Up In SharePoint Online:

    1.Create a new Wiki page.
    229051-image.png
    2.Click Inset ->> Web Part ->> Media and Content ->> Script Editor ->> Click Add
    229005-image.png
    3.Click Edit Web Part ->> Click EDIT SNIPPET
    228980-image.png
    4.Input the code in the attachment, then click Inset and OK .(Please see attachment )

    My test result:
    229024-image.png

    More information for reference: Create Modal Dialog Pop Up In SharePoint 2016 And Office 365

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

  2. Jayde F 1 Reputation point
    2022-08-05T08:37:20.987+00:00

    Hi @Tong Zhang_MSFT ,

    Thanks for responding; I use SharePoint Online.

    0 comments No comments