Jump to content

opening a page on another window(sorry not php Q)


oceans

Recommended Posts

XHTML Strict valid:

 

<a href="#" onclick="window.open('http://www.google.co.uk');">Google</a>

 

XHTML Transitional valid (works on more browsers as doesn't need JavaScript):

 

<a href="http://www.google.co.uk" target="_blank">Google</a>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.