So, I'm wondering what code I need to be looking at to learn how to open a form up in a new window. I'm referring to when a form pops up over the current page and the rest of the page is covered with a black transparent cover. I was looking at window.open(url) but I don't think that's the solution. Should I be trying to accomplish this in php or with javascript?

thanks!