Skip to main content
Inspiring
September 23, 2008
Question

Open New Window

  • September 23, 2008
  • 2 replies
  • 338 views
I have a link to a page but I want to view it on a new window rather than the same window. How will I do that?
Thanks
This topic has been closed for replies.

2 replies

Inspiring
September 23, 2008
However, to pass W3C markup validation, you need to use onclick and/or onkeypress as follows:
<a href="web_page.cfm" onclick="target='_blank';" onkeypress="target='_blank';" title="This link opens in a new window">Go to web_page.cfm</a>
Inspiring
September 23, 2008
target = "_blank"