本文介绍了javascript- window.open在google chrome和safari中不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨Codians,
我为这项小小的工作陷入了深深的麻烦[似乎].我已经尝试在Google Chrome和Safari中运行window.open,但到目前为止还没有运气.我已经张贴了每个地方,并在这里张贴这是我最后的希望.
我正在尝试使用以下代码.
Hi Codians,
I have been in deep trouble for this tiny work[seems]. I have tried to run the window.open in google chrome and safari, but so far no luck. I have posted every where and posting here this is my last hope.
I am trying to do with the following code.
string script= "window.open('http://www.codeproject.com','_blank','toolbar=yes,status=1,menubar=yes,scrollbars=yes,resizable=no,left=20,top=20,width=600,height=550');";
ScriptManager.RegisterStartupScript(this, this.GetType(), "newWindowScript", script, true);
推荐答案
这篇关于javascript- window.open在google chrome和safari中不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!