Open Link in an External Window via Javascript


/ Published in: JavaScript
Save to your folder(s)

Rather than using target="_blank", which is deprecated by the W3C in XHTML, you should use rel="external" for links that you want to pop out in a new window. This is the javascript that makes it happen.

URL: http://www.sitepoint.com/article/standards-compliant-world/3/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.