Here's one of those things that's probably really simply once you do it once, but, unfortunately I haven't yet. I was wondering if any of you gurus could give me a minute.
I've seen sites where you can only have a certain number of pop up windows open at once.
In other words if you click on one while another is open, it pops in the same window as the first did.
Any advice would be greatly appreciated.
Since you've given your window a name in the function that opens the window (myWin) and used the window.focus() in it, it should do the trick. To get really fancy, you could pass the function the name of your new window, so that you could control more than 1 popup window - but I won't go into that now - plus the more popups you have, the more annoyed the user will be.