How can I hide the top bar of the browser in the view automatically?
Hide explorer
|
18.07.2017, 07:15
18.07.2017, 09:32
Hi,
Automatically I do not know, but here is what I use with a click... JMM. Code: 123456789101112131415161718192021222324252627 $('#plan-7' ).on( 'vclick', function() {
toggleFullScreen();
showPlan(7); // resize plan.
});
function toggleFullScreen() {
if (!document.fullscreenElement && // alternative standard method
!document.mozFullScreenElement && !document.webkitFullscreenElement) { // current working methods
if (document.documentElement.requestFullscreen) {
document.documentElement.requestFullscreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullscreen) {
document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
}
} else {
if (document.cancelFullScreen) {
document.cancelFullScreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
}
}
}
//---------------------------------------------------------
Jean-Marc
18.07.2017, 11:16
Hello,
What I needed was to open scada, in full mode as if we pressed F11
18.07.2017, 13:40
And well the script which I propose make exactly the same thing as F11
JMM.
Jean-Marc
(18.07.2017, 11:16)Daponte Wrote: Hello, create a shortcut for chrome.exe and change linc to object like this: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --kiosk "http://192.168.0.39" but if any another tab of chrome is opened it won't work. just tested if you want to open visualisation the link should be like this http://192.168.0.39/scada-vis just set your LMs IP
18.07.2017, 14:55
thank you,
|
« Next Oldest | Next Newest »
|