如何将弹出式javascript页面最大化为全屏 [英] How do I maximize popup javascript page to full screen
问题描述
我正在使用javascript来禁用页面的控件..代码在下面:::
服务器端调用javascript ::
btnLogin.Attributes.Add(onclick,popUp('+ responseURL +'));
clientside :: :
I am using a javascript in order to disable the controls of a page.. the code is below:::
server side to call javascript::
btnLogin.Attributes.Add("onclick", "popUp('" + responseURL + "')");
clientside:::
var popUp = function (page){
window.open(page, "Index", 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=1,width=1500,height=7500,left = 710,top = 290');
}
这里,为了最大化IE浏览器占用整个屏幕,我正在使用宽度和高度..我已经做了googleing ..它告诉我设置全屏=是..删除宽度和高度和设置全屏=是,我得到了所需的所有内容,但屏幕是不满。不幸的是,它没有在我的代码中工作...有没有办法最大化浏览器作为操作系统加载??
here, in order to maximize the IE browser to take whole of the screen, i am using width and height.. i had done googleing.. It had told me to set fullscreen=yes.. on removing width and height and setting fullscreen=yes, i got all the content in the required fashion but screen is not full . unfortunately, its not working in my code... is there a way to maximize the browser as os loads??
推荐答案
尝试http://javascript-array.com/scripts/window_open/ [ ^ ]。
请参阅我之前的回答如何在Asp.Net网站页面之间切换而不显示地址栏是否可见全屏模式 [ ^ ]。
Refer my previous answer How Do I Switch Between Pages Of Asp.Net Website Without Making Address Bar Visible If It Is In Full Screen Mode[^].
这篇关于如何将弹出式javascript页面最大化为全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!