Summary
In this article, you’ve seen how you can make the content of your pop-up windows visible to search engines, getting more exposure and attracting more traffic. The easiest solution is to execute a JavaScript function after the page is loaded and replace all <A HREF=’url’> tags with <A HREF=’javascript:popup("url")’> tags, although more complex solutions are also possible if your customer prefers to avoid hyperlinks.
I’ve also discussed the steps necessary to present the content previously only available through pop-up windows in a meaningful way, augmented with banners, sidebars, and other navigational elements. There are at least three ways to detect whether a page is opened in a pop-up context or in the main browser window, the most reliable being an extra argument in the query string.