开发者

How to open new tab in popup window

开发者 https://www.devze.com 2023-02-12 00:54 出处:网络
I would like to h开发者_运维问答ave a button/link in a page with the following behavior: On the first click, open a pop-up.

I would like to h开发者_运维问答ave a button/link in a page with the following behavior:

  • On the first click, open a pop-up.
  • On later clicks, if the pop-up is still open, open a new tab in pop-up window.

I tried to achieve this with in Firefox, but whatever I do non-first pop-up opens in parent window.

Any ideas?


I do not think this can work with browser tab. But you can use javascript to display the contents in a DOM tab i.e. the popup window can display tabs.

I hope it helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消