can I make users press a button on my website (on the header) and do the same thing as anpress of F11 to go to fullscreen?
You can with some fancy <script>, but my question would be "Why?" when the user can just press F11.
I agree, why would you want to do this? I'd be talking my client out of it ...
Can you post the script for me? I want every user on my website to press that button for an immersive experience. Most users don't usually use F11 often or don't know about it
here's my website niudavinci.multiscreensite.com
This is a bit technical, but there's a browser method for element objects that can be used to toggle full screen. https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen
Here are a few sources that provide relevant scripts. You will need to modify the HTML of the button to have the appropriate CSS selector to call the function on click, or will need to add the onclick for the function call to the button itself.
Like @Elizabeth_Fedak mentioned, it can get VERY TECHNICAL. If you can not use the article above to set it up on your site, then we recommend hiring a developer from the Experts Portal.
Incredible, detailed answer!