Chapter 79. Displaying a “You Are Now Leaving” Popup

Here's a little trick that you might find useful: displaying a “You Are Now Leaving” popup when the visitor clicks an external link.

As a site designer, you go to great pains to establish the placeness of your Web site. You want it to feel like a logical, unified physical space, like a house with many rooms. While your visitors remain on your site, a consistent graphic design from page to page to page promotes this sense of place nicely. But the pages of a Web site aren't exactly like the rooms of a house. For one thing, your visitors can leave from any room, not just through the ones with the front and back doors, and, once they leave, they can go literally anywhere. This is the legendary ...

Get Web Design Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.