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

Line 87: Line 87:
 
     }
 
     }
 
function validate3() {
 
function validate3() {
         if (document.getElementById('top_menu_under').checked) {
+
         if (document.getElementById('margin').checked) {
 
             document.getElementById("top_menu_under").style.display = "initial";
 
             document.getElementById("top_menu_under").style.display = "initial";
 
         } else {
 
         } else {

Revision as of 05:49, 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.

Show top nav bar

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

The above code removes all margin of the content.

Show margin

#sideMenu { display: none; }

The above code hides the side menu

Show side menu

#content { width: initial; }

The above code hides the right margin.

Show right margin