Difference between revisions of "Team:Virginia/Project"

Line 14: Line 14:
 
     <link rel="stylesheet" href="https://2018.igem.org/Template:Virginia/css/styles?action=raw&ctype=text/css">
 
     <link rel="stylesheet" href="https://2018.igem.org/Template:Virginia/css/styles?action=raw&ctype=text/css">
 
     <script src="https://2018.igem.org/Template:Virginia/js/wiki?action=raw&ctype=text/javascript"></script>
 
     <script src="https://2018.igem.org/Template:Virginia/js/wiki?action=raw&ctype=text/javascript"></script>
    <script>
 
    $(function() {
 
        $('header').load('https://2018.igem.org/Template:Virginia/header?action=raw&ctype=text/javascript');
 
        $('footer').load('https://2018.igem.org/Template:Virginia/footer?action=raw&ctype=text/javascript');
 
    });
 
    </script>
 
 
     <!--Added MathJax hack to make inline equations work-->
 
     <!--Added MathJax hack to make inline equations work-->
 
     <script type="text/x-mathjax-config">
 
     <script type="text/x-mathjax-config">
Line 33: Line 27:
 
    
 
    
 
 
     <header></header>   <main id="top">
+
     <header></header>
 +
    <script>
 +
    $(function() {
 +
        $('header').load('https://2018.igem.org/Template:Virginia/header?action=raw&ctype=text/javascript');
 +
    });
 +
    </script>
 +
    <main id="top">
 
       <nav>
 
       <nav>
 
         <div id="va-toc">
 
         <div id="va-toc">
Line 44: Line 44:
 
         </div>
 
         </div>
 
       </nav>
 
       </nav>
       <article id="main-content"></article>
+
       <article class="main-content"></article>
 
       <script>
 
       <script>
 
         $(function() {
 
         $(function() {
           $('article#main-content').load('https://2018.igem.org/Template:Virginia/Project?action=raw&ctype=text/javascript');
+
           $('article.main-content').load('https://2018.igem.org/Template:Virginia/Project?action=raw&ctype=text/javascript');
 
         });
 
         });
 
       </script>
 
       </script>
Line 53: Line 53:
 
     </main>
 
     </main>
 
     <footer></footer>
 
     <footer></footer>
 +
    <script>
 +
    $(function() {
 +
        $('footer').load('https://2018.igem.org/Template:Virginia/footer?action=raw&ctype=text/javascript');
 +
    });
 +
    </script>
 
     <!--SMOOTH SCROLL UP-->
 
     <!--SMOOTH SCROLL UP-->
 
     <div class="scrolltop">
 
     <div class="scrolltop">
 
       <div class="scroll icon"><i class="fa fa-4x fa-angle-up"></i></div>
 
       <div class="scroll icon"><i class="fa fa-4x fa-angle-up"></i></div>
     </div>
+
     </div>
 +
 
 
</html>
 
</html>

Revision as of 02:40, 14 September 2018