JavaScript target demo

Note: An improved version of this script is described in Opening new windows with JavaScript, version 1.1. Please use that version instead of the one demonstrated in this document.

A live test link to the website.

This is a demo of the script explained in Using javascript instead of target to open new windows.