Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

What is the difference between fullscreen [F11] and [script]

Discussion in 'WebGL' started by Paradoks, Sep 21, 2019.

  1. Paradoks


    Oct 13, 2009

    I got a code that switch my webGL game to fullscreen, the code works well.
    But the problem is that when i switch to fullscreen with code, my ads banners disapear !
    Somehow my <div> that contains the banners are not displayed.
    I don't have this problem when i fullscreen with [F11], but with [F11] i got the top bar that appears
    when my mouse comes to the edge of the screen.

    live here:

    So i would like to know:
    1 - What is technicaly the difference between the two ways
    2 - Is there a workaround that use best of two worlds - display ads with no top bar.