Pop-up modal window SP2010

Code for adding pop-up links to list items and to Library items. Full Code For a List Item:  Full Code for a Library Item:  Source: http://erikswenson.blogspot.dk/2010/09/how-to-create-hyperlink-to-modal-pop-up.htm

Create link to new folder and item actions in modal window in SharePoint 2013

Create link to “New Item” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/_layouts/15/Upload.aspx?List={<List-GUID>}&RootFolder=&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);”>Add item</a> Create link to “New Folder” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/Forms/Upload.aspx?RootFolder=&Type=1&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);” >New Folder</a>

Pop-up modal window SP2013

Simple javascript command to open the dialog modal form function OpenPopUpPage(url, callback, width, height) function OpenPopUpPageWithTitle(url, callback, width, height, title) function OpenPopUpPageWithDialogOptions(dialogOptions) DialogOptions supports: Options Property Description title A string that …

Read morePop-up modal window SP2013