打开应用程序时设置浏览器全屏模式 [英] Set Browser Full Screen Mode when open the application

查看:176
本文介绍了打开应用程序时设置浏览器全屏模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net mvc中,当用户打开软件时,浏览器将进入全屏模式,而用户不会发生任何事件.

In asp.net mvc when user open the software then browser turn into full screen mode without any event by user.
How?Thanks

推荐答案

告诉他/她按下键盘上的F11,浏览器窗口将变为全屏.

您也可以将其放在您的代码中:
Tell him/her to press F11 on the keyboard and the browser window will become full screen.

You can also put this in your code :
Response.Write("<script>");
Response.Write("window.open('www.yoursite.com', '', 'fullscreen=yes, scrollbars=auto');");
Response.Write("</script>");


尝试一下

JavaScript在信息亭模式"下启动窗口 [
Try this

JavaScript start a window in "Kiosk Mode"[^]

Google "kiosk" for more.


这篇关于打开应用程序时设置浏览器全屏模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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