I am thinking about opening the help page of my application in a popup1. My problem is that I don't want to open multiple popups if the user clicks the help button more then once.
Is it possible, in a cross-browser way, to reuse an old popup window instead of opening a new one?. I'm hoping I can bring it back to the foreground2 or something like that.
In the worst case I think I can go back to a div-based Javascript dialog but I'd rather avoid that if possible.
1 Most normal desktop apps use popups for the help dialogs so I don't think there is anything wrong with this choice.
Also, I think in my case a normal link to a help page would be suboptimal from a practical perspective (I don't want people navigating around too much in my single-page app) and from a technical one (the help contents are created via Javascript and using popups + document.write is more flexible for me)
2 Some comparisons with Windows desktop apps: Windows Explorer and IE refocus the old help window if you try to open it again. Office apps have the help window always on top. Firefow and Chrome just open a new browser tab (and open multiple ones if you try again)