Hi Darian

This is both an accessible and valid method:

<a href="foo.html" onclick="window.open(this.href);return false;"
onkeypress="window.open(this.href);return false;" title="opens in new
window">new window</a>

Cheers 

Jeff Lowder
Accessibility 1st
Website: www.accessibility1st.com.au
Blog: www.accessibility1st.com.au/journal/ 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Darian Cabot
Sent: Sunday, 18 April 2004 1:29 PM
To: [EMAIL PROTECTED]
Subject: [WSG] target="_blank" substitute

This is probably obvious...

I would like to open a link in a new window. I used to use
target="_blank"
attribute, but that isn't xhtml strict. Can anyone enlighten me on a
xhtml
strict method? as I'd like my pages to verify ^^

Cheers,


Darian Cabot
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Cabot Consultants Pty Ltd
Software Engineer / Website Design
http://www.cabotconsultants.com.au
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 



*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to