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

Line 26: Line 26:
 
<p>The above code hides the top title and logo bar.</p>
 
<p>The above code hides the top title and logo bar.</p>
 
<form>
 
<form>
   <input type="checkbox" name="topbar" id="topbar" checked='checked' value="topbar" onchange="cTrig(topbar)"> Show top title and logo bar<br>
+
   <input type="checkbox" name="topbar" id="topbar" checked='checked' value="topbar" onchange="cTrig()"> Show top title and logo bar<br>
 
</form>
 
</form>
 
<code>#top_menu_14 {
 
<code>#top_menu_14 {
Line 41: Line 41:
  
 
  <script type="text/javascript">
 
  <script type="text/javascript">
           function cTrig(topbar) {  
+
           function cTrig() {  
 
       if (document.getElementsByName(topbar)[0].checked == true) {
 
       if (document.getElementsByName(topbar)[0].checked == true) {
 
         confirm("checked");
 
         confirm("checked");

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