Line 25: | Line 25: | ||
}</code> | }</code> | ||
<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> | ||
+ | <input type="checkbox" name="topbar" id="topbar" value="Bike"> Show top title and logo bar<br> | ||
+ | </form> | ||
<code>#top_menu_14 { | <code>#top_menu_14 { | ||
display: none; | display: none; | ||
Line 36: | Line 39: | ||
}</code> | }</code> | ||
<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"> | ||
+ | function validate() { | ||
+ | if (document.getElementById('topbar').checked) { | ||
+ | alert("checked"); | ||
+ | } else { | ||
+ | alert("You didn't check it! Let me check it for you."); | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
</html> | </html> |
Revision as of 05:16, 20 June 2016
H1 Heading
H2 Heading
H3 Heading
#top_title {
display: none;
}
The above code hides the 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.