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 | Leave a comment

Post navigation

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 )

Connecting to %s

Blog at WordPress.com. Theme: Adventure Journal by Contexture International. Fonts on this blog.

Follow

Get every new post delivered to your Inbox.