Team:UChicago/Templates/Standard header

From 2013.igem.org

(Difference between revisions)
 
(38 intermediate revisions not shown)
Line 4: Line 4:
<!-- *********** -->
<!-- *********** -->
-
     <link rel="stylesheet" href="https://2011.igem.org/Team:DTU-Denmark/stylesheet?action=raw&ctype=text/css" type="text/css" />
+
     <link rel="stylesheet" href="https://2013.igem.org/Team:UChicago/stylesheet?action=raw&ctype=text/css" type="text/css" />
 +
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<!-- JAVASCRIPTS -->
<!-- JAVASCRIPTS -->
Line 18: Line 19:
     <script>
     <script>
         $(function() {
         $(function() {
-
    // initialize scrollable
+
        // initialize scrollable
-
    $(".scrollable").scrollable().navigator();
+
        $(".scrollable").scrollable().navigator();
         });
         });
     </script>
     </script>
Line 27: Line 28:
         $(window).scroll(function () {  
         $(window).scroll(function () {  
             var scrollPos = $(window).scrollTop();
             var scrollPos = $(window).scrollTop();
-
            if (scrollPos > 110) {
 
-
                $(".navigation").addClass("stickToTop");
 
-
            } else {
 
-
                $(".navigation").removeClass("stickToTop");
 
-
            }
 
             if (scrollPos > 180) {
             if (scrollPos > 180) {
                 $(".toc").addClass("stickBelowNavigation");
                 $(".toc").addClass("stickBelowNavigation");
Line 38: Line 34:
             }
             }
         });
         });
-
    </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 65:
<!-- HTML CONTENT -->
<!-- HTML CONTENT -->
<!-- ************ -->
<!-- ************ -->
 +
    <div id="wrapper">
 +
        <nav>
 +
            <ul>
 +
                <li class="navHome">
 +
                    <a id="top" href="/Team:UChicago">UCHICAGO</a>
 +
                </li>
 +
                <li class="navBar">
 +
                    |
 +
                </li>
 +
                <li class="navIgem">
 +
                    <a href="https://2013.igem.org">iGEM 2013</a>
 +
                    <img src="https://static.igem.org/mediawiki/2013/8/8d/UChi_igemlogo.png" width=50px height=50px alt="iGEM logo">
 +
                </li>
 +
                <li class="navTeam">
 +
                    <a href="/Team:UChicago/Team">Team</a>
 +
                </li>
 +
                <li class="navProject">
 +
                    <a href="/Team:UChicago/Project">Project</a>
 +
                </li>
 +
                <li class="navNotebook">
 +
                    <a href="/Team:UChicago/Notebook">Notebook</a>
 +
                </li>
 +
                <li class="navSafety">
 +
                    <a href="/Team:UChicago/Safety">Safety</a>
 +
                </li>
 +
                <li class="navSponsor">
 +
                    <a href="/Team:UChicago/Sponsor_Us">Sponsor Us!</a>
 +
                </li>
 +
            </ul>
 +
        </nav>
-
    <!-- Header image -->
 
-
    <div id="header">
 
-
        <div class="centering">
 
-
        </div>
 
-
    </div>
 
-
     <!-- Navigation bar -->
+
     <!-- Prepare for content -->
-
     </html>{{:Team:DTU-Denmark/Templates/Navigationbar}}<html>
+
     <div class="whiteBox">
 +
       
-
    <!-- Page heading -->
 
-
    <div id="heading">
 
-
        <div class="centering">
 
-
            <h1>
 
-
</html>
 
-
{{{1}}}
 
-
<html>
 
-
            </h1>
 
-
        </div>
 
-
    </div>
 
-
 
-
    <!-- Prepare for content -->
 
-
    <div id="innercontent">
 
-
        <div class="centering">
 
-
            <div class="whitebox article">
 
</html>
</html>

Latest revision as of 13:21, 26 September 2013