Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SharePoint 2007 Summary Link webpart - New window with max size

Posted on 2013-01-31
2
674 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
ID: 38840721
Do you already have jQuery in your pages?
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 38840836
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

860 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