Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
Hide URL (F11) |
Thu, Jul 25 2019 10:03 PM | Permanent Link |
KimHJ Comca Systems, Inc | I have seen other web apps going full screen on a windows computer and I see some have asked here as well.
Just wondering if anyone have found a solution. I found this code, but I don't know where to place it in EWB or the generated HTML or JS file. <script> document.body.requestFullscreen(); </script> Kim |
Fri, Jul 26 2019 9:26 PM | Permanent Link |
Raul Team Elevate | On 7/25/2019 10:03 PM, KimHJ wrote:
> I have seen other web apps going full screen on a windows computer and I see some have asked here as well. > Just wondering if anyone have found a solution. > > I found this code, but I don't know where to place it in EWB or the generated HTML or JS file. > > <script> > document.body.requestFullscreen(); > </script> You can add this to external function. Basically create a js file with following content function DoFullScreen() { document.body.requestFullscreen(); } Add this file as external file to the project and then in your main form unti for example declare external function external procedure DoFullScreen; and then you can call this - for example from button handler or FormShow event or such. Note that it does not work for Edge and in IE appears to have a vendor prefix : https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen Raul |
Mon, Jul 29 2019 6:44 PM | Permanent Link |
KimHJ Comca Systems, Inc | Raul wrote:
>>You can add this to external function. Basically create a js file with following content function DoFullScreen() { document.body.requestFullscreen(); } Add this file as external file to the project and then in your main form unti for example declare external function external procedure DoFullScreen; and then you can call this - for example from button handler or FormShow event or such. Note that it does not work for Edge and in IE appears to have a vendor prefix : https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen<< Thanks Raul, I had a hard time to get it to work I was missing one step. I had to add the js file to Project, External Files. Kim |
Tue, Jul 30 2019 2:28 PM | Permanent Link |
Raul Team Elevate | On 7/29/2019 6:44 PM, KimHJ wrote:
> I had a hard time to get it to work I was missing one step. > > I had to add the js file to Project, External Files. Yes that is a needed step. it allows EWB to actually know about the external file and load it so the function becomes available Raul |
Fri, Aug 2 2019 10:59 AM | Permanent Link |
Douglas Lyman | I thought this would be a great feature for iOS. Unless I'm doing something wrong, its not working for me (Safari or Chrome).
|
This web page was last updated on Friday, November 1, 2024 at 07:01 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |