Team:UChicago/Templates/Standard header

From 2013.igem.org

(Difference between revisions)
Line 18: Line 18:
     <script>
     <script>
         $(function() {
         $(function() {
-
    // initialize scrollable
+
        // initialize scrollable
-
    $(".scrollable").scrollable().navigator();
+
        $(".scrollable").scrollable().navigator();
         });
         });
     </script>
     </script>
Line 38: Line 38:
             }
             }
         });
         });
-
    </script>
 
-
 
-
    <!-- MathJax (LaTeX for the web) -->
 
-
    <script type="text/x-mathjax-config">
 
-
        MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
 
-
        MathJax.Hub.Config({
 
-
            TeX: {
 
-
                equationNumbers: {  autoNumber: "AMS"  }
 
-
            }
 
-
        });
 
-
    </script>
 
-
    <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
-
 
-
    <!-- Sexy Drop Down (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>
     </script>
Line 108: Line 69:
<!-- HTML CONTENT -->
<!-- HTML CONTENT -->
<!-- ************ -->
<!-- ************ -->
-
 
+
     <div class="centering">
-
     <!-- Header image -->
+
        <div id="navigation">
-
    <div id="header">
+
            <div class="navigation">
-
        <div class="centering">
+
                <ul class="topnav" id="topnav">
 +
                    <li class="home navitem1">
 +
                        <a href="/Team:UChicago">UChicago</a>
 +
                    </li>
 +
                    <li class="igem navitem1">
 +
                        <a href="https://2013.igem.org" title="iGEM 2013 Homepage">iGEM 2013</a>
 +
                    </li>
 +
                    <li class="team navitem1">
 +
                        <a href="/Team:UChicago/Team">Team</a>
 +
                    </li>
 +
                    <li class="project navitem1">
 +
                        <a href="/Team:UChicago/Project">Project</a>
 +
                        </li>
 +
                    <li class="notebook navitem1">
 +
                        <a href="/Team:UChicago/Notebook">Notebook</a>
 +
                    </li>
 +
                    <li class="outreach navitem1">
 +
                        <a href="/Team:UChicago/Outreach">Outreach</a>
 +
                    </li>
 +
                    <li class="sponsor_us navitem1">
 +
                        <a href="/Team:UChicago/Sponsor_Us">Sponsor Us!</a>
 +
                    </li>
 +
                </ul>
 +
            </div>
         </div>
         </div>
-
    </div>
 
-
    <!-- Navigation bar -->
 
-
    </html>{{:Team:DTU-Denmark/Templates/Navigationbar}}<html>
 
-
     <!-- Page heading -->
+
     <!-- Prepare for content -->
-
     <div id="heading">
+
     <div id="innercontent">
         <div class="centering">
         <div class="centering">
             <h1>
             <h1>
Line 126: Line 107:
<html>
<html>
             </h1>
             </h1>
-
        </div>
 
-
    </div>
 
-
    <!-- Prepare for content -->
 
-
    <div id="innercontent">
 
-
        <div class="centering">
 
-
           
 
</html>
</html>

Revision as of 00:18, 13 September 2013