当地址栏隐藏在主窗口时,如何显示FireFox弹出的地址栏?下面的代码创建一个弹出,但没有地址栏。
JS:
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=300,width=400,location=yes');
}HTML:
<a href="" onclick="return newPopup('http://www.mx7racing.com)">;pop with location bar</a>;发布于 2012-02-16 23:18:13
也许target="_blank“属性可以帮助您。
<a href="http://www.mx7racing.com" target="_blank">;pop with location bar</a>;https://stackoverflow.com/questions/9315457
复制相似问题