Here is a very simply piece of code you can put on your site that will force all external links to open in a new window. It requires jquery but what site doesn’t already have jquery running on it these days?

This also adds a class to all your external links of “externalLink” so you can style your external links differently if you want to.

For a full tutorial on how to use this bit of code visit: http://www.unseenrevolution.com/jquery-external-links-new-window/

This Post Has One Comment

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.