Adding a Modal Dialog link to the Quick Launch


Modify Your Quick Launch
First, modify your quick launch:

http://xxxxxxx/_layouts/quiklnch.aspx

Add a javaScript modal popup
Next, get the link of the item you want to add, and make sure it has the IsDlg=1 in the URL, add it as a link in the following format:
javascript:function tdql1(){SP.UI.ModalDialog.showModalDialog({url:’/xxx/Lists/xxx/NewForm.aspx?RootFolder=&IsDlg=1′,title:’Press Publication’})}tdql1();

Categories: SharePoint or Custom Development | 1 Comment

Post navigation

One thought on “Adding a Modal Dialog link to the Quick Launch

  1. Nik

    Very helpful, much appreciated!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: