I have added the following setting inside my sub site navigation to show all the available users inside a People group:-
but currently when i click on the link , it will not open in a new window ,, can anyone adivce on this please?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
A PM in my company expressed that a client’s subsites (that were based on the team site template) were not respecting the navigation setting (the structured navigation tool) to open links in a new window. All the setting does is add a target=”_blank” to the link. Here is what the setting looks like (from Site Settings – Navigation):
From what I can tell, other site templates do not have this issue. In team sites, the following JS function is adding to the div above the global and local navigation, and it causes the target to be ignored:
onclick="return AjaxNavigate$OnClickHook(event, this);"
In the init.js you can see where it’s pointing to, but ultimately I can’t tell what the purpose of this is. All it seems to do is extend the URL to use hashes. Here’s an example of the type of URL it generates when clicking on a document library.
So it turns out this feature is part of the 2013 minimal download strategy enabled by default on team sites. When this feature is disabled the open in new window functionality is restored. To me, this is still a bug because the MDS should still honor the navigation functionality (or at least remove the option when the feature is enabled).