Solved

SharePoint 2007 Summary Link webpart - New window with max size

Posted on 2013-01-31
2
666 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jquery datepciker end date add 6 days 6 36
Javascript_Set_dropdown_value 7 32
SharePoint Explorer Folder Access 4 36
Create an automated page index 9 14
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

773 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