Java Script FullScreen Part2
-
shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me.
<!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //-->
Stay well and ejoy life to the max -
shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me.
<!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //-->
Stay well and ejoy life to the maxHi --- I didnt understand your question. PLease explain... BTW: Greate function
The Server
gave you... but only 1 more thing to add use this code the get the screen resoulotion:var screenWidth = window.screen.width; var screenHeight = window.screen.height; // I learned it 2 minutes ago
=-=-=-=-=-=-=-= The Server :rose: -
Hi --- I didnt understand your question. PLease explain... BTW: Greate function
The Server
gave you... but only 1 more thing to add use this code the get the screen resoulotion:var screenWidth = window.screen.width; var screenHeight = window.screen.height; // I learned it 2 minutes ago
=-=-=-=-=-=-=-= The Server :rose:You gave me the function, right but now how do I activate the function to open the window in fullscreen. I know someone who said open it in or something but when I tried it failed! Hope this expl works!! Thanxs for the help!! Stay well and ejoy life to the max
-
shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me.
<!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //-->
Stay well and ejoy life to the max -
Sorry, forgot to sign in before posting..;P onwards and upwards...
-
You gave me the function, right but now how do I activate the function to open the window in fullscreen. I know someone who said open it in or something but when I tried it failed! Hope this expl works!! Thanxs for the help!! Stay well and ejoy life to the max
Just copy/paste the text below to an empty HTML file:
function WhatEverFunc()
{
// what ever code you want
// i.e. the open window call (window.open("popup.html");
alert("Hope this code helps you");
}=-=-=-=-==-=-= :rose::rose::rose::rose::rose:
-
shot to all those that are helping me!!! how do I open the fullscreen? I have a function that The Server gave me.
<!-- function OpenWndFullScreenMode() { window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar"); } //-->
Stay well and ejoy life to the maxYou can try this to open the window in full screen. window.open('page.html','','top=0,left=0,height=' + screen.availHeight + ',width=' + screen.availWidth); You can also try adding, subtracting some from the screen.availHeight, screen.availHeight etc to adjust your window as per your requirements. cheers :) Written on a gravestone: Hear lies a father of 29. He could have had more but he didn't have the time!