Open Quick Launch links in new window



In this article you will learn how to open Quick Launch links in new window using jQuery in SharePoint 2013.

By default when you open links from quick launch in SharePoint 2013, those links opens in the same window.

In SharePoint 2010 when you edit the quick launch with JavaScript using below simple script it use to work but not anymore in SharePoint 2013.

javascript:void(window.open('https://www.sharepoint-journey.com'));

See the below figure for example.

When you have publishing feature enabled in the site then you do not have the problem.

Why? because you have Navigation option enabled for the site so you can open the links in new window .

See the below figure, here we have option to add links under "Structural Navigation: Editing and Sorting" section of Navigation and open them in new window if required.

What is the option we have to open the links in quick launch in new window? 

We can write a simple script using jquery and place it on the 

Script Editor webpart:



Join 6,500 subscribers and receive instant access to

Devendra's Library of Resources for SharePoint Developers


About Author

Devendra Velegandla is a four-time recipient of Microsoft's Most Valuable Professional (MVP) award (2014-2017) for Office Servers and Services MVP and  SharePoint Server. He received the MCC award for his contributions in Microsoft MSDN/TechNet forums. He loves sharing articles, videos, and tutorial on SharePoint and Office 365.