我有一个网页,其中包含四个链接,每个链接打开一个弹出窗口。我使用一个常见的JavaScript函数打开弹出窗口,如下所示
function OpenPopup(pageURL, title,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no,
directories=no, status=no, me
在我的网站上,我有一个弹出窗口,该窗口在页面加载时打开。此弹出窗口包含一个链接
<a href='newpage.html' target='_blank'>click here to go to page</a>
目前,当用户点击链接时,新页面要么在同一弹出窗口中打开,要么打开一个新的弹出窗口。
我如何才能做到这一点,这样就不是在弹出窗口中打开新页面,而是在常规浏览器窗口中打开。
有什么工具吗?实现这一点的最好方法是什么?