Page 1 of 1

Change the target to '_blank' for news post detail print links

Posted: Sun Oct 19, 2008 2:48 am
by tinhat
The code below is intended to be used at the bottom of an HTML document. You could also call it with the document onLoad event.

[php]

node = document.getElementById('NewsPostDetailPrintLink').getElementsByTagName('A')[0];
node.setAttribute('target','_blank');

[/php]