-1

I have this line and I want to target blank so as to open the link in a new window. I tried adding it but but I get syntax error.

  $out .= "\t<li><a href=\"" . $content->getURL() . "\">" . $content . "</a></li>\n";

Can you please help me?

Thanks.

Cody Raspien
  • 1,753
  • 5
  • 26
  • 51
  • Would Javascript work? - like adding a div and then target all links within that div to blank – Cody Raspien May 19 '13 at 22:16