2016-04-18 29 views
0

我想打开一个新窗口使用onclick =“window.open”由于某种原因滚动条&可调整大小不工作在IE11,它的工作原理罚款,但做工精细铬。滚动条和可调整大小不出现在onclick =“window.open”

<div class="editor-field editorholder" style="height: auto;"> 
<a href="@Url.Action("QuickView", "Home", new { id = @Model.UniqueKey })" class="btn-mvc" onclick="window.open(this.href,'targetWindow','toolbar=0','location=0','status=0','menubar=0,','scrollbars=yes','resizable=yes','width=100','height=100'); return false;"> 
    <span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> 
</a> 
</div> 
+0

我试图与 '滚动条= 1', '可调整大小= 1',但没有changies ..任何帮助请...谢谢 – Mhmd

+0

''location = 0','status = 0','menubar = 0,','scrollbars = yes','resizable = yes','width = 100' ,'height = 100'应该是一个字符串,就像''location = 0,status = 0,menubar = 0,scrollbars = yes,resizable = yes,width = 100,height = 100'。 –

+0

不幸的是无法正常工作。 – Mhmd

回答

0

最后我找到了解决办法:

onclick="window.open(this.href, 'popupwindow', 'width=1280 height=800 resizable scrollbars menubar=yes'); return false;" 

谢谢

0

添加两种:

scrolling=yes, scrollbars=yes 
相关问题