SharePoint - How to Create Hyperlinks to a Pop-Up Dialog

Do you like those cool SharePoint 2010 shadowbox pop-up dialogs?

So do I, since it means less page navigation and general confusion for end-users. The problem is when you want to create your own custom hyperlinks from quick launch or throughout your own pages.

There are several blogs out there that show how to accomplish this using JavaScript snippets in CEWPs, etc. But there is actually a much easier way to do it using a built-in JavaScript feature of SharePoint.

Use this in your HTML

<a href="javascript:OpenPopUpPage('http://bing.com');">Test Link</a>

 Note: Obviously, replace the Bing URL with your own.


Comments

  1. http://www.petestilgoe.com/2010/10/05/how-to-display-anything-in-sharepoint-2010-pop-up-modal/

    ReplyDelete

Post a Comment

Popular posts from this blog

The all new Movie Central

Movie Central 4.0 (New Release in works)

How to install nVidia Optimus driver