Trigger popup from javascript?

Couple things you could do, either create a new snippet for each button, popupWindow2, popupWindow3, etc. Or depending on your use could pass different variables from each place you have the HTML onclick action to your page include, and have it the end result be different from each variable. Same as if you have a page include component added declaratively, you can pass page parameters to your page include in your xml string in your popupWindow snippet. I’ll post an example later today.