Launch image gallery in popup
I'm working on an interactive map that shows various landmarks and provides information about them via links in a Google map infobox. I have links that open various URLs, but can't figure out how to create a popup for an image gallery. The code that creates a gallery from images in the project database is in place, but haven't found a way of opening it in a new window.
I guess the underlying question is how to have a function from one window open in another window. I'm not looking for code, but I'd sure appreciate being pointed in the right direction.