Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

SharePoint 2007 Summary Link webpart - New window with max size

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
sharepoint2013
Asked:
sharepoint2013
  • 2
1 Solution
 
leakim971PluritechnicianCommented:
Do you already have jQuery in your pages?
0
 
leakim971PluritechnicianCommented:
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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now