I know that if I add target="_blank" to the <a> tag this will cause a new window to open when the link is clicked.
But how do I add this to the <a> tag the Drupal way ?
This is a teaser title, not an anchor that I created in a block or have direct edit ability to.
Thanks all.
I know that if I add target=_blank to the <a> tag this will cause
Share
As Marius says you can use the node template file, but that involves non-compliant markup. If you use JS, then the Drupal way uses behaviors. Also you shouldn’t assume
$isjQueryin D7. Here’s an example:More details