Team:Manaus/Templates/StandardPageBegin

From 2013.igem.org

(Difference between revisions)
(Created page with "File:File:Bannerelectrobacter1.jpg")
Line 1: Line 1:
-
[[File:File:Bannerelectrobacter1.jpg]]
+
<html>
 +
 
 +
<!-- STYLESHEET -->
 +
<!-- *********** -->
 +
 
 +
    <link rel="stylesheet" href="https://2013.igem.org/Team:Manaus/stylesheet?action=raw&ctype=text/css" type="text/css" />
 +
 
 +
<!-- JAVASCRIPTS -->
 +
<!-- Google Analytics -->
 +
<script>
 +
  /*(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 +
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
 +
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 +
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 +
 
 +
  ga('create', 'UA-42439664-1', 'igem.org');
 +
  ga('send', 'pageview');*/
 +
 
 +
</script>
 +
 
 +
<!-- *********** -->
 +
 
 +
    <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
 +
    <!--[if lt IE 9]>
 +
    <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
 +
    <![endif]-->
 +
 
 +
    <!-- jQuery Tools (slider) -->
 +
    <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
 +
    <script>
 +
        $(function() {
 +
    // initialize scrollable
 +
    $(".scrollable").scrollable().navigator();
 +
        });
 +
    </script>
 +
 
 +
    <!-- Navigation scroll follow -->
 +
    <script type="text/javascript">
 +
        $(window).scroll(function () {
 +
            var scrollPos = $(window).scrollTop();
 +
            if (scrollPos > 110) {
 +
                $(".navigation").addClass("stickToTop");
 +
            } else {
 +
                $(".navigation").removeClass("stickToTop");
 +
            }
 +
            if (scrollPos > 180) {
 +
                $(".toc").addClass("stickBelowNavigation");
 +
            } else {
 +
                $(".toc").removeClass("stickBelowNavigation");
 +
            }
 +
        });
 +
    </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>
 +
 
 +
    <!-- iGem wiki hacks -->
 +
        <!-- 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>
 +
 
 +
        <!-- 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" style="width: 100%;background-color: rgb(2,37,57);background-position:center;  background-image: url('https://static.igem.org/mediawiki/2013/a/a6/Header.png')">
 +
        </div>
 +
    </div>
 +
 
 +
    <!-- Navigation bar -->
 +
    </html>{{:Team:Manaus/Templates/NavigationBar}}<html>
 +
 
 +
    <!-- 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>

Revision as of 18:32, 13 September 2013