问:

怎样在新标签页中打开弹出窗口?

答:
这里的 location=yes 表示会在新标签页打开。
总之,打开新标签页弹窗的核心就是设置 target 属性或 window.open() 方法的参数为 "_blank"。