To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.
See it run: Previewing Links with Ajax
This HTML builds the page for the preview example.
This CSS styles the preview pop-up.