Deks Posted October 21, 2011 Share Posted October 21, 2011 Hello, i need for my project fullsize browser window. Is there any was to lock browser on his fullscreen so users cant use drag to move him? I know that i can open predefined window but how to lock his size on drag? window.open('test.php','mywindow','resizable=no,fullscreen=yes') Thanks. Link to comment https://forums.phpfreaks.com/topic/249511-lock-browser-on-fullscreen/ Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 21, 2011 Share Posted October 21, 2011 when page is loaded, use javascript and store the height and width of the browser. use setInterval to check if the browser width and height had change. if changed, change the browser's size. Link to comment https://forums.phpfreaks.com/topic/249511-lock-browser-on-fullscreen/#findComment-1281060 Share on other sites More sharing options...
Adam Posted October 21, 2011 Share Posted October 21, 2011 You can't prevent a user from closing full-screen view. The browser just won't allow you to take that much control. If you start resizing it periodically after they've changed it, they will just leave. At least I would... Link to comment https://forums.phpfreaks.com/topic/249511-lock-browser-on-fullscreen/#findComment-1281077 Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 21, 2011 Share Posted October 21, 2011 You can't prevent a user from closing full-screen view. The browser just won't allow you to take that much control. If you start resizing it periodically after they've changed it, they will just leave. At least I would... me too Link to comment https://forums.phpfreaks.com/topic/249511-lock-browser-on-fullscreen/#findComment-1281079 Share on other sites More sharing options...
Deks Posted October 21, 2011 Author Share Posted October 21, 2011 but then window won't be set on fullscreen. I just wanna stop window dragging. Is that possible? Am making application for company so users will stay thanks. Link to comment https://forums.phpfreaks.com/topic/249511-lock-browser-on-fullscreen/#findComment-1281080 Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 21, 2011 Share Posted October 21, 2011 use visual basic and create a browser. its pretty simple Link to comment https://forums.phpfreaks.com/topic/249511-lock-browser-on-fullscreen/#findComment-1281081 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.