Javascript Window.open不带导航工具栏

Javascript Window.open不带导航工具栏,javascript,asp.net,html,Javascript,Asp.net,Html,我正在使用下面的代码打开一个没有导航工具栏的新弹出窗口。但它是用导航工具栏打开的。请帮我解决我的问题 <script type="text/javascript"> function loadUrl1(newLocation) { myRef = window.open('newLocation','mywin', 'left=20,top=20,width=500,height=500,toolbar=0,resizable=0,status=0,location=0,addres

我正在使用下面的代码打开一个没有导航工具栏的新弹出窗口。但它是用导航工具栏打开的。请帮我解决我的问题

<script type="text/javascript">
function loadUrl1(newLocation)
{
myRef = window.open('newLocation','mywin',
'left=20,top=20,width=500,height=500,toolbar=0,resizable=0,status=0,location=0,address=0');
}
</script>
弹出脚本:

<script language="javascript" type="text/javascript">
   function popitup(url) {
        newwindow=window.open(url,'name','height=200,width=150');
        if (window.focus) {newwindow.focus()}
        return false;
    }       
</script>
然后,通过以下方式链接到它:

<a href="popupex.html" onclick="return popitup('popupex.html')">Open popup</a>
这里是另一个参考:


感谢您的回复。您的代码在firefox中运行良好,而不是在ie中。您是否检查了提供的链接,因为它是一个cros浏览器解决方案。是的,但我不能在ie中执行此操作。这就是我提出此问题的原因。请查看此问题