window.open在谷歌浏览器中不起作用 [英] window.open not working in google chrome
本文介绍了window.open在谷歌浏览器中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
Hi all&
my_window = window.open("ProjectPopupAddMilestones.aspx", "NewWin", "title=0,status=0,width=520,height=105,left=300,top=500,toolbar=no,resizable=no,menubar=no,location=no,scrollbar=no,modal");
它可以在Internet Explorer中工作,但是当我在Google Chrome中打开它时,它可以打开,但是带有滚动条,我可以调整它的大小.
跨浏览器window.open是否有任何代码?
请帮帮我.
在此先感谢
It works in internet explorer but when i open it in google chrome it opens but with scroll bars i can resize it.
Is there any code for cross browser window.open?
please help me.
Thanks in advance
推荐答案
http://lmgtfy.com /?q = resizable%3Dno + chrome [ ^ ]
首次匹配包含此解决方案:
您只需要在CSS中设置resize属性即可:
调整大小:无;
或使用内联样式,例如:style ="resize:none"
http://lmgtfy.com/?q=resizable%3Dno+chrome[^]
First hit contains this solution:
You just need to set the resize property in your css:
resize:none;
Or using inline style like : style="resize:none"
这篇关于window.open在谷歌浏览器中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文