Re: opening link in new window
| From: | Paul M Foster | Date: | Sat, 24 Jul 2010 04:58:02 +0000 |
| Subject: | Re: opening link in new window | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307124@lists.php.net to get a copy of this message | ||
On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote:
> Hello,
> I've got a page with an external link. I'd like to open it in a new
> window, but i'm using the xhtml 1.0 strict dtd so this isn't possible.
> I was wondering if php could pull this off? Failing that, and not
> really wanting to go there, would javascript work for this?
> Thanks.
> Dave.
I take it
<A HREF="newwindow.html" TARGET="_blank">a new window</A>
is not part of the xhtml 1.0 strict dtd? Because I recently solved this
problem using the above syntax.
Paul
--
Paul M. Foster