Place this script within your SharePoint Links List AllItems.aspx Page.
<script language="javascript" type="text/javascript">
function OpenLinkinNewWindow()
{
var anchors = document.getElementsByTagName("a");
for (var x=0; x<anchors.length; x++)
{
anchors[x].target="_blank";
}
}
_spBodyOnLoadFunctionNames.push("OpenLinkinNewWindow");
</script>
<script language="javascript" type="text/javascript">
function OpenLinkinNewWindow()
{
var anchors = document.getElementsByTagName("a");
for (var x=0; x<anchors.length; x++)
{
anchors[x].target="_blank";
}
}
_spBodyOnLoadFunctionNames.push("OpenLinkinNewWindow");
</script>
No comments:
Post a Comment