KeyBinding and KeyListener for F11 (Fullscreen) - Please help!
Hi, and thanks for stopping by.
I'm completely new to this forum, but I didn't know where else to turn to.
What I want to do is force the user to enter fullscreen as soon as they enter, and I want them to be the one that presses it.
This is the order in what I'm trying to create.
1. User enters webpage and sees the words "Fullscreen to continue" on a black background.
2. User presses F11 (fullscreen) and the words melt away to enter the site.
3. If the User exits fullscreen while on my site, the words "Please enter fullscreen to continue viewing" would pop up, and they would have to enter fullscreen again.
This is for simple viewing pleasure, but it'll be very effective if it works.
Thank you so much in advance. I'm very new to Javascript and coding in general, so sorry if I am in the wrong niche or this is too advanced or something. I've read about KeyListeners and KeyBindings and ActionMaps and InputMaps but it's all bloody chinese to me.
|