Difference between revisions of "Team:Hong Kong UCCKE/HTML Test"

Line 40: Line 40:
 
<p>The above code removes all margin of the content.</p>
 
<p>The above code removes all margin of the content.</p>
  
<script type="text/javascript">
+
<script type="text/javascript">
          function cTrig() {  
+
    function validate() {
      if (document.getElementsByName(topbar)[0].checked == true) {
+
        if (document.getElementById('topbar').checked) {
        confirm("checked");
+
            alert("checked");
      } else {
+
        } else {
      confirm("didn't");
+
            alert("You didn't check it! Let me check it for you.");
           
+
        }
      }
+
 
     }
 
     }
 
     </script>
 
     </script>
  
 
</html>
 
</html>

Revision as of 05:25, 20 June 2016

Edit this page

H1 Heading

H2 Heading

H3 Heading

#top_title { display: none; }

The above code hides the top title and logo bar.

Show top title and logo bar
#top_menu_14 { display: none; }

The above code hides the top nav bar.

#top_menu_under { display: none; } #content { margin-left: 0px; }

The above code removes all margin of the content.