JAVA SCRIPT fullscreen with no scrollbars and so on
-
Does anyone know how to open a window in fullscreen with no scrollbars and so on just a plain blank screen that will be used to display pics? Stay well and ejoy life to the max
-
Does anyone know how to open a window in fullscreen with no scrollbars and so on just a plain blank screen that will be used to display pics? Stay well and ejoy life to the max
You cant The workers and I tried for days to find a way and
NOTHING!!!
But... we came up with this resault:function OpenWndFullScreenMode()
{
window.open("popup.html","","top=<code>-30</code>,left=<code>-10</code>,width=<code>1024+10+25</code>,
height=<code>768+30+10</code>,directories,location,menubar,resizeable,scrollbars,toolbar");
// this code works only on resoultion of 1024-768
// the 'top=-30' will put the window title above the screen
// the -10 will put the window border outside the screen
// the +25 will put the scrollbars outside the screen
// SO............
// You have the efect of a full screen window without scrollbars
// NOTE: if u use the fullscreen flag in the open() function
// You <code>can NOT</code> remove the scroll bars
}Hope I helped you... I not sure about the specific '-10' '+25' and '+30' numbers but you got the idea. Thanks for your help in closing the window. =-=-=-=-=-=-=- The Server :rose:
-
You cant The workers and I tried for days to find a way and
NOTHING!!!
But... we came up with this resault:function OpenWndFullScreenMode()
{
window.open("popup.html","","top=<code>-30</code>,left=<code>-10</code>,width=<code>1024+10+25</code>,
height=<code>768+30+10</code>,directories,location,menubar,resizeable,scrollbars,toolbar");
// this code works only on resoultion of 1024-768
// the 'top=-30' will put the window title above the screen
// the -10 will put the window border outside the screen
// the +25 will put the scrollbars outside the screen
// SO............
// You have the efect of a full screen window without scrollbars
// NOTE: if u use the fullscreen flag in the open() function
// You <code>can NOT</code> remove the scroll bars
}Hope I helped you... I not sure about the specific '-10' '+25' and '+30' numbers but you got the idea. Thanks for your help in closing the window. =-=-=-=-=-=-=- The Server :rose:
In addition you can get the width and height of the screen like this:
var screenWidth = window.screen.width; var screenHeight = window.screen.height;
in order to make your code more generic and it will work for any resolution......:-D:-D |---------------| | theJazzyBrain | |---------------| -
In addition you can get the width and height of the screen like this:
var screenWidth = window.screen.width; var screenHeight = window.screen.height;
in order to make your code more generic and it will work for any resolution......:-D:-D |---------------| | theJazzyBrain | |---------------|