Quick links not opening in a new tab directly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 07:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023 03:29 AM
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