Heal Your Church WebSite


Teaching, rebuking, correcting & training in righteous web design.

How to Make (friendlier) a Pop-up Window

Popups are the spawn of satan … in fact say so much in ‘the Book‘ … most of the time. Like medicinal marijuana for terminally ill cancer patients who have an adversion to morphine, pop-ups do have some rare, legitimate utility for things like calendar widgets for date-related form entries and/or disclaimer type information. Which is why I’ve linked an article by Elise Bauer entitled “How To Make a Pop-up Window” that shows how to do it right – especially for those of us who like to right click.

Sometimes you might want to link to a popup window from your Movable Type weblog. For example you can make your About page a popup instead of a separate page. Although using the target=”blank” attribute in a hyperlink can generate a new page, using javascript commands for popups will give you more control over the appearance and location of the popup.

Can I have an ‘Amen!?’ Or at least a partial head knod, for while I’m no fan of the target=”_blank” attribute, I do like the idea of giving the users more control of their destiny when it comes to popup windows. This is especially true for those of us slugging it out with the way ASP.Net uses, or should I say abuses Javascript to launch popups and other such controls.

If you’re not sure what I mean you can view a popup of my very first post/press release one of two ways.

  • Left click on it and you get a popup
  • Right Click on it and you can open a new browser Window (or tab for you hip, cool FireFox users)

It is the ability to right click and do things like open window, tabs, create bookmarks and/or save linkable content that makes Elise’s example so valuable — at least to me — of course your mileage may vary.

3 Comments

  1. I’m on the “I Hate Pop-ups” bandwagon. Another nice-to-have is some indicator that the link is going to pop a window. At least warn the poor user that you’re about to spawn the window.

    The disconnect when 99% of the links on your site do one thing (change the current window) and 1% do something else (pop) is painful.

  2. I agree that the notification of popup to come is critical to user interface. Pop up windows are useful, just as tables are useful when used for purposes for which they are intended.

    Just a note don’t forget that if you don’t show the scroll bars some users may not be able to view the content if they have fonts set bigger, on macs for instance, or some other personal format that modifies the content to a larger area. Ususally this will hide most people’s “close window” button or other information at the bottom of the window.

  3. Pingback: djchuang's metablog