|
|
Line 79: |
Line 79: |
| <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
| | | |
- | <!-- Drop Down navigation -->
| |
- | <script type="text/javascript">
| |
- | $(document).ready(
| |
- | function(){
| |
- | $("ul.subnav").parent().find("> a").append("<span> ▼</span>");
| |
- | $("ul.topnav li").hover(
| |
- | function() {
| |
- | // Hover over
| |
- | $(this).parent().find("ul.subnav").hide();
| |
- | $(this).find("ul.subnav").show();
| |
- | // Hover out
| |
- | $(this).hover(
| |
- | function() {
| |
- | },
| |
- | function(){
| |
- | $(this).find("ul.subnav").hide();
| |
- | }
| |
- | );
| |
- | },
| |
- | function(){
| |
- | $(this).find("ul.subnav").hide();
| |
- | }
| |
| | | |
- | );
| |
- | }
| |
- | );
| |
- | </script>
| |
| | | |
- | <!-- iGem wiki hacks -->
| + | </hmtl> |
- | <!-- Remove all empty <p> tags -->
| + | |
- | <script type="text/javascript">
| + | |
- | $(document).ready(function() {
| + | |
- | $("p").filter( function() {
| + | |
- | return $.trim($(this).html()) == '';
| + | |
- | }).remove();
| + | |
- | });
| + | |
- | </script>
| + | |
- | | + | |
- | <!-- Remove "team" from the menubar -->
| + | |
- | <script type="text/javascript">
| + | |
- | $(document).ready(function() {
| + | |
- | $("menubar > ul > li:last-child").remove();
| + | |
- | });
| + | |
- | </script>
| + | |
- | | + | |
- | <!-- If Empty heading -> Then remove it -->
| + | |
- | <script type="text/javascript">
| + | |
- | $(document).ready(function() {
| + | |
- | if ("" == "</html>{{{1}}}<html>") {
| + | |
- | $("#heading").remove();
| + | |
- | }
| + | |
- | });
| + | |
- | </script>
| + | |
- | | + | |
- | <!-- HTML CONTENT -->
| + | |
- | <!-- ************ -->
| + | |
- | | + | |
- | <!-- Header image -->
| + | |
- | | + | |
- | <div id="header">
| + | |
- | <div class="centering">
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | | + | |
- | <!-- Navigation bar -->
| + | |
- | </html>{{:Team:DTU-Denmark/Templates/Navigationbar2}}<html>
| + | |
- | | + | |
- | | + | |
- | <!-- Prepare for content -->
| + | |
- | <div id="innercontent">
| + | |
- | <div class="centering">
| + | |
- | <div class="whitebox article">
| + | |
- | | + | |
- | <div class="overviewPage">
| + | |
- | <h1>
| + | |
- | </html>
| + | |
- | {{{1}}}
| + | |
- | <html>
| + | |
- | </h1>
| + | |
- | </div>
| + | |
- | | + | |
- | </html> | + | |