按控制键打开一个新窗口 [英] Press control key to open a new window

查看:75
本文介绍了按控制键打开一个新窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想从javaScript打开一个新的弹出窗口,但无法直接打开,要求我按下Control键.

消息如下:

弹出窗口被阻止在此页面上.
按"ctrl"键允许弹出.

感谢您的帮助.

Hi,

I would like to open a new popup window from javaScript, but it can''t open directly and asks me to press the control key.

The message is as follows:

Popups were blocked on this page.
Press the "ctrl" key to allow popup.

Kindly appreciate your help.

推荐答案

为避免网站与弹出窗口阻止程序有关的问题,您可以对弹出窗口使用另一种方法.请查看下面的链接以获取更多信息和示例.

http://www.javascripttoolbox.com/lib/popup/example.php [ ^ ]

http://www .pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/ [
To avoid website problems with popup blockers you could use an alternative method for popup windows. Have a look at the links below for more info and examples.

http://www.javascripttoolbox.com/lib/popup/example.php[^]

http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[^]

Good luck!


这篇关于按控制键打开一个新窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆