This is a great way to open links on your page without using Browser tabs or “Open in New Window” options.
This feature enables a specified link, when clicked to open in a dialog window with one extra feature, it opens in Maximized View to the exact dimensions of the users monitor.
I find this method is more user friendly, great for hiding the URL of the dialog content and perfect for showing PDF files while still keeping the user on your site.
First test this code in a html page and attach it as a Content Editor Web Part first, just to make sure everything is working.
Once this code is pasted in use the following with your hyper link:
So on each hyper-link you just add this extra code to your URL for it to open in a maximized dialog window.
Please let me know if the code helps you in your SharePoint Enviroment or if you have any questions, just comment below.
* I’ve tried to find the site where I first obtained this code to give credit but cannot find which site I gathered most of the code from.