Quick links not opening in a new tab directly

Nikita Joshi
Kilo Expert

Hello Everyone

 

I have created few sub-topics for mega menu on our portal and created quick links and external links to open the corresponding topics SharePoint links in new tab but after clicking on a particular topic it is directing to a page first and from there after clicking on the quick link it is opening in a new tab.

 

Please let me know if there is way to open the link directly in a new tab

1 REPLY 1

Community Alums
Not applicable

@Nikita Joshi --

you can use the target="_blank" attribute in your HTML code.

let's say you have a link in your mega menu like this: <a href="<Your link>" class="mega-menu-link">Example Website</a>

modify it like this:<a href="navpage.do?sysparm_nameofpage=your_page_name&sysparm_link_target=_blank" class="mega-menu-link">Example Website</a>

Replace your_page_name with the actual name of the page you want to open

By using the navpage protocol and setting sysparm_link_target=_blank, the link will now open in a new tab when clicked from the Mega Menu