Announcement

Collapse
No announcement yet.

How to hide the bottom button in the html build?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Hey, im quite new to hmtl and coding in general, could you further explain the process?
    I want to get rid of all the buttons of the default html5 build, where do I paste that code?
    Thanks

    Leave a comment:


  • replied
    May be through Html its not possible so you can use javascript.In javascript there is toggle button to hide and show .No matter where your button is .

    follow to code
    1.HTML file
    <button onclick="myFunction()">Click Me</button>

    <div id="myDIV">
    This is my DIV element.
    </div>

    2.Javascript File
    <script>
    function myFunction() {
    var x = document.getElementById("myDIV");
    if (x.style.display === "none") {
    x.style.display = "block";
    } else {
    x.style.display = "none";
    }
    }
    </script>

    for more information follow this link
    https://www.w3schools.com/howto/howt..._hide_show.asp

    Leave a comment:


  • started a topic How to hide the bottom button in the html build?

    How to hide the bottom button in the html build?

    Hello,

    I've built my game sucefully for html5 but by defaut the .html have these buttons in the bottom of the game windows and i would like to delete or hide them. How can i do that?

    Click image for larger version

Name:	Capture.JPG
Views:	179
Size:	61.1 KB
ID:	1384330

    Thanks
    Attached Files
Working...
X