Code:
var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:'_blank'}
anylinkmenu1.items=[
["Press Release: March 1, 2012", "pdfs/PR-3-1-2012.pdf"],
However, all items in that menu (anylinkmenu1) will use that target. There's no way internal to the script to specify some links having one target and some having another in a given menu.
If that's a problem, don't use _blank there. Rather put this script on the page:
Code:
<script type="text/javascript">
document.onclick = function(e){
e = e || event;
var t = e.target || e.srcElement;
if(t.href && /\.pdf/i.test(t.href)){
t.target = '_blank';
}
return true;
};
</script>
It will open all PDF links in a _blank target.
Bookmarks