It seems nobody knows how to do the following...:
Talking specifically about SharePoint Portal Server 2003,
I have not found a way to change WebPart LINKS, so they
will open in a new browser Window.

Specifically I'd like to change the "LISTING & GROUPS
WEBPART" (also "LINKS WEBPART" and DOCUMENT LIBRARY Web-
Part) so when I click over a Link, It would pop-up in a
new Window... I've been unable to find any .XSL relationed
with this "LISTING & GROUPS WEBPART" so I could
add 'target="_blank"'. It seems that the HTML-Link (<a
href) must be hard-coded rendered from within that .NET
WebPart???...

Any ideas? (Remember, I am talking about SharePoint Portal
Server 2003 - Refresh Update)

CESAR DE LA TORRE
ctorre@renacimiento.com

P.D.:
It was easy in SharePoint Portal Server 2001, which is a
known issue (how to open links in a new browser window,
just changing the .XSL source code of the web part &
adding a 'target="blank"')...

How can I open a new browser window when clicking Links or documents in SPS-2003 by CESAR

CESAR
Wed Aug 20 08:21:52 CDT 2003

I have found a workaround that partially solves the
problem. At least, adding 1 line of code per ASP.NET page,
all the LINKS that are using the same CSS Class, can be
opened in another IE window.
I am using STYLES and BEHAVIOURS.
We need to add the following line into each ASP.NET page,
using Front-Page 2003, for instance:
<STYLE>
.ms-announcementtitle { behavior:url
("/_layouts/1033/styles/myconfiglinks.htc") }
</STYLE>

In this case, .ms-announcementtitle is the CSS class that
are using all the Links from "LISTING & GROUPS WEBPART".

Then, I must have a file (in this case named
myconfiglinks.htc) with the following content:

<PUBLIC:COMPONENT URN="renacimiento" >
<PUBLIC:ATTACH EVENT="onclick" ONEVENT="PopUp()" />
<SCRIPT LANGUAGE="JScript">
var url;
function PopUp()
{
//We keep the href's url
url = element.href;

//We froze the real href
element.href = "#";

//We open the URL in another IE Window
window.open(url);
}
</SCRIPT>
</PUBLIC:COMPONENT>

I hope it is usefull for anybody looking for the same
issue.

Regards,

CESAR DE LA TORRE
Renacimiento
Microsoft GOLD Certified Partner

>-----Original Message-----
>It seems nobody knows how to do the following...:
>Talking specifically about SharePoint Portal Server 2003,
>I have not found a way to change WebPart LINKS, so they
>will open in a new browser Window.
>
>Specifically I'd like to change the "LISTING & GROUPS
>WEBPART" (also "LINKS WEBPART" and DOCUMENT LIBRARY Web-
>Part) so when I click over a Link, It would pop-up in a
>new Window... I've been unable to find any .XSL
relationed
>with this "LISTING & GROUPS WEBPART" so I could
>add 'target="_blank"'. It seems that the HTML-Link (<a
>href) must be hard-coded rendered from within that .NET
>WebPart???...
>
>Any ideas? (Remember, I am talking about SharePoint
Portal
>Server 2003 - Refresh Update)
>
>CESAR DE LA TORRE
>ctorre@renacimiento.com
>
>P.D.:
>It was easy in SharePoint Portal Server 2001, which is a
>known issue (how to open links in a new browser window,
>just changing the .XSL source code of the web part &
>adding a 'target="blank"')...
>.
>