Solved

SharePoint 2007 Summary Link webpart - New window with max size

Posted on 2013-01-31
2
642 Views
Last Modified: 2013-02-01
Hi,

How do I make each of the summary links to open to a new window with maximum size?

Currently it is opening to small windows.

SharePoint 2007 Summary Link webpart.

Thanks.
0
Comment
Question by:sharepoint2013
  • 2
2 Comments
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
Do you already have jQuery in your pages?
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
Comment Utility
Else check this links :
http://msdn.microsoft.com/en-us/library/ms551040.aspx
http://stackoverflow.com/questions/2541392/opening-new-window-in-html-for-target-blank

So Update the stylesheet replacing this :
<a href="{$SafeLinkUrl}" target="{$LinkTarget}">

Open in new window

by :
<a href="{$SafeLinkUrl}" onclick="myoptions='left=0,top=0,width=' + (screen.availWidth) +' ,height=' + (screen.availHeight) + ',toolbar=1,resizable=0';window.open(this.href, 'mywin', myoptions); return false;" >

Open in new window

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now