Now that we all know the cons of pop ups, there are some steps you can take, generally.
1 ) To get a pop up to display well in a variety of browsers, the ones configured to allow them, it is usually best to have a separate function on your page that is built around the window.open() method but that has added object detection to, in most cases, get the pop up to behave well in all of these various browsers.
2 ) Always call this function from a real link, passing its href to the pop up function with a return of false. That way, at least non-javascript enabled browsers can display the content, ex:
HTML Code:
<a href="somepage.htm" onclick="myPopup(this.href);return false;">Link Text</a>
Most browsers that can disable pop ups usually will give the user the opportunity to decide on a case by case basis to allow the pop up. You probably can detect whether the pop up has opened or not and provide your own alert to advise the user that a pop up was missed.
Still, all in all, the safest method would be to use DHTML pop ups. These are not windows, but elements with their display property initially set to none that are positioned absolutely on the page, when activated, their display property is set to block. When dismissed, display is returned to none. Even these should either have a link, written somewhat similar to that mentioned above, for non-javascript enabled browsers, or alternate 'always visible' content for the non-javascript environment.
Bookmarks