<a ... target="_blank">..</a>
或者
window.open("")
都只能打开新tab,新窗口是怎么打开的?
tab
target="_blank"的行为是用户设置的。
target="_blank"
If you set the target attribute to "_blank", the link will open in a new browser window or a new tab.
火狐下强制弹窗可用alwaysRaised=yes:
alwaysRaised=yes
window.open("", "test", "alwaysRaised=yes")
最好加上scrollbars=yes带上滚动条:
scrollbars=yes
window.open("", "test", "alwaysRaised=yes,scrollbars=yes");
标签
查看
304 次