Difference between revisions of "Template:BNU-CHINA/partials/nav"

 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
<head>
+
<style>
    <style type="text/css">    
+
li{
        #float_banner {
+
font-family: Helvetica;
            position: absolute;
+
}
            top: 0;
+
</style>
            left: 0;
+
style = "font-family: Helvetica;"
            width: 50px;
+
            height: 500px;
+
            line-height: 30px;
+
            text-align: left;
+
            text-shadow: rgba(255, 255, 255, 0.5) 0 5px 6px, rgba(255, 255, 255, 0.2) 1px 3px 3px;
+
            font-size: 14px;
+
            font-weight: bold;
+
            z-index: 2;
+
        }
+
    </style>
+
</head>
+
 
<body>
 
<body>
 
<div class="header-container">
 
<div class="header-container">
Line 30: Line 19:
 
                     <span class="icon-bar"></span>
 
                     <span class="icon-bar"></span>
 
                 </button>
 
                 </button>
                 <img id="taxolightlogo" src="https://static.igem.org/mediawiki/2016/7/77/T--BNU-China--log.jpg"/>
+
                 <img id="taxolightlogo" src="https://static.igem.org/mediawiki/2018/c/c9/T--BNU-China--logo.jpg"/>
                 <a class="navbar-brand" id="navbar-brand" href="https://2018.igem.org/Team:BNU-China">BNU-China</a>
+
                 <a class="navbar-brand" id="navbar-brand" href="https://2018.igem.org/Team:BNU-China" style = "font-family: Helvetica;">BNU-China</a>
 
             </div>
 
             </div>
  
Line 37: Line 26:
 
             <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1">
 
             <div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1">
 
                 <ul class="nav navbar-nav">
 
                 <ul class="nav navbar-nav">
                     <li><a href="https://2018.igem.org/Team:BNU-China" class="</html>{{{HOME|}}}<html>">Home</a></li>
+
                     <li><a href="https://2018.igem.org/Team:BNU-China" class="</html>{{{HOME|}}}<html>" style = "font-family: Helvetica;">Home</a></li>
 
                     <li class="dropdown </html>{{{PROJECT|}}}<html>">
 
                     <li class="dropdown </html>{{{PROJECT|}}}<html>">
                         <a href="https://2018.igem.org/Team:BNU-China/Project" class="dropdown-toggle" data-toggle="dropdown">Project <span
+
                         <a href="https://2018.igem.org/Team:BNU-China/Project" class="dropdown-toggle" data-toggle="dropdown" style = "font-family: Helvetica;">Project <span
 
                                 class="caret"></span></a>
 
                                 class="caret"></span></a>
 
                         <ul class="dropdown-menu" role="menu">
 
                         <ul class="dropdown-menu" role="menu">
                             <li><a href="https://2018.igem.org/Team:BNU-China/Project">Background</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Background" style = "font-family: Helvetica;">Background</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Design">Design</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Design" style = "font-family: Helvetica;">Design</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Proof">Results</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Results" style = "font-family: Helvetica;">Results</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Description">Improvement</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Improve" style = "font-family: Helvetica;">Improvement</a></li>
 
                         </ul>
 
                         </ul>
 
                     </li>
 
                     </li>
 
                     <li class="dropdown </html>{{{MODELING|}}}<html>">
 
                     <li class="dropdown </html>{{{MODELING|}}}<html>">
                         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Modeling <span
+
                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" style = "font-family: Helvetica;">Modeling <span
 
                                 class="caret"></span></a>
 
                                 class="caret"></span></a>
 
                         <ul class="dropdown-menu" role="menu">
 
                         <ul class="dropdown-menu" role="menu">
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model">Introduction</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#Main" style = "font-family: Helvetica;">Main model</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#model-theory">Modeling theory</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#Probability" style = "font-family: Helvetica;">Probability of distribution</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#model-factor">Single Factor Analysis</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#E" style = "font-family: Helvetica;">E.coli growth rate</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#model-differential">Differential Equation</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#Growth" style = "font-family: Helvetica;">Growth promoting effect</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#model-visual">Visual Simulation</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Model#Gene" style = "font-family: Helvetica;">Gene expression level</a></li>
 +
                            <li><a href="https://2018.igem.org/Team:BNU-China/Model#Ribosome" style = "font-family: Helvetica;">Ribosome fall-off rate</a></li>
 +
 
 
                         </ul>
 
                         </ul>
 
                     </li>
 
                     </li>
 
                     <li class="dropdown </html>{{{ACHIEVEMENTS|}}}<html>">
 
                     <li class="dropdown </html>{{{ACHIEVEMENTS|}}}<html>">
                         <a href="./achievement.html" class="dropdown-toggle" data-toggle="dropdown">Achievements <span
+
                         <a href="./achievement.html" class="dropdown-toggle" data-toggle="dropdown" style = "font-family: Helvetica;">Achievements <span
 
                                 class="caret"></span></a>
 
                                 class="caret"></span></a>
 
                         <ul class="dropdown-menu" role="menu">
 
                         <ul class="dropdown-menu" role="menu">
                             <li><a href="https://2018.igem.org/Team:BNU-China/Achievements#Parts">Parts</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Measurement" style = "font-family: Helvetica;">Measurement</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Achievements#Judging">Judging</a></li>
+
                            <li><a href="https://2018.igem.org/Team:BNU-China/Demonstrate" style = "font-family: Helvetica;">Demonstrate</a></li>
 +
                             <li><a href="https://2018.igem.org/Team:BNU-China/Judging" style = "font-family: Helvetica;">Judging</a></li>
 +
                            <li><a href="https://2018.igem.org/Team:BNU-China/Parts" style = "font-family: Helvetica;">Parts</a></li>
 
                         </ul>
 
                         </ul>
 
                     </li>
 
                     </li>
 
                     <li class="dropdown </html>{{{PRACTICES|}}}<html>">
 
                     <li class="dropdown </html>{{{PRACTICES|}}}<html>">
                         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Practices <span
+
                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" style = "font-family: Helvetica;">Human Practices <span
 
                                 class="caret" ></span></a>
 
                                 class="caret" ></span></a>
 
                         <ul class="dropdown-menu" role="menu">
 
                         <ul class="dropdown-menu" role="menu">
                             <li><a href="https://2018.igem.org/Team:BNU-China/Human_Practices">Schedule</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Human_Practices#Overview" style = "font-family: Helvetica;">Overview</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Practices">Human Practice</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Human_Practices#Silver" style = "font-family: Helvetica;">Silver</a></li>
 +
                            <li><a href="https://2018.igem.org/Team:BNU-China/Human_Practices#Gold" style = "font-family: Helvetica;">Gold</a></li>
 +
                            <li><a href="https://2018.igem.org/Team:BNU-China/Human_Practices#Social Activities" style = "font-family: Helvetica;">Social Activities</a></li>
 +
                            <li><a href="https://2018.igem.org/Team:BNU-China/Human_Practices#Public " style = "font-family: Helvetica;">Public Engagement</a></li>
 
                         </ul>
 
                         </ul>
 
                     </li>
 
                     </li>
                     <li class="</html>{{{SAFETY|}}}<html>"><a href="https://2018.igem.org/Team:BNU-China/Safety">Safety</a></li>
+
                     <li class="</html>{{{SAFETY|}}}<html>"><a href="https://2018.igem.org/Team:BNU-China/Safety" style = "font-family: Helvetica;">Safety</a></li>
 
                     <li class="dropdown </html>{{{TEAM|}}}<html>">
 
                     <li class="dropdown </html>{{{TEAM|}}}<html>">
                         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Lab <span
+
                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" style = "font-family: Helvetica;">Team <span
 
                                 class="caret" ></span></a>
 
                                 class="caret" ></span></a>
 
                         <ul class="dropdown-menu" role="menu">
 
                         <ul class="dropdown-menu" role="menu">
                             <li><a href="https://2018.igem.org/Team:BNU-China/Team#">Members</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Team#" style = "font-family: Helvetica;">Members</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Attributions">Attributions</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Attributions" style = "font-family: Helvetica;">Attributions</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Collaborations">Collaborations</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Collaborations" style = "font-family: Helvetica;">Collaborations</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Acknowledgement">Acknowledgement</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Acknowledgement" style = "font-family: Helvetica;">Acknowledgement</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Notebook">Notebook</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Notebook" style = "font-family: Helvetica;">Notebook</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Protocol">Protocol</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/Protocol" style = "font-family: Helvetica;">Protocol</a></li>
 
                         </ul>
 
                         </ul>
 
                     </li>
 
                     </li>
 
                     <li class="dropdown </html>{{{TEAM|}}}<html>">
 
                     <li class="dropdown </html>{{{TEAM|}}}<html>">
                         <a href="https://2018.igem.org/Team:BNU-China/Interlab" class="dropdown-toggle" data-toggle="dropdown">Interlab <span
+
                         <a href="https://2018.igem.org/Team:BNU-China/InterLab" class="dropdown-toggle" data-toggle="dropdown" style = "font-family: Helvetica;">InterLab <span
 
                                 class="caret" ></span></a>
 
                                 class="caret" ></span></a>
 
                         <ul class="dropdown-menu" role="menu">
 
                         <ul class="dropdown-menu" role="menu">
                             <li><a href="https://2018.igem.org/Team:BNU-China/Interlab#Calibration">Calibration</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/InterLab#Calibration" style = "font-family: Helvetica;">Calibration</a></li>
                             <li><a href="https://2018.igem.org/Team:BNU-China/Interlab#Cell_Measurement">Cell measurement</a></li>
+
                             <li><a href="https://2018.igem.org/Team:BNU-China/InterLab#Cell Measurement" style = "font-family: Helvetica;">Cell measurement</a></li>
    <li><a href="https://2018.igem.org/Team:BNU-China/Interlab#CFU_Measurement">CFU measurement</a></li>
+
    <li><a href="https://2018.igem.org/Team:BNU-China/InterLab#CFU Measurement" style = "font-family: Helvetica;">CFU measurement</a></li>
    <li><a href="https://2018.igem.org/Team:BNU-China/Interlab#Epilouge">Epilouge</a></li>
+
    <li><a href="https://2018.igem.org/Team:BNU-China/InterLab#Epilogue" style = "font-family: Helvetica;"> Epilogue</a></li>
 
                         </ul>
 
                         </ul>
 
                     </li>
 
                     </li>
Line 104: Line 100:
 
     </nav>
 
     </nav>
 
</div>
 
</div>
<div id="float_banner"></div>
 
    <script language="javascript">
 
        var speed = 100;
 
        var scrollTop = null;
 
        var hold = 0;
 
        var float_banner;
 
        var pos = null;
 
        var timer = null;
 
        var moveHeight = null;
 
        float_banner = document.getElementById("float_banner");
 
        window.onscroll = scroll_ad;
 
  
        function scroll_ad() {
 
            scrollTop = document.documentElement.scrollTop + document.body.scrollTop;
 
            pos = scrollTop - float_banner.offsetTop;
 
            pos = pos / 10
 
            moveHeight = pos > 0 ? Math.ceil(pos) : Math.floor(pos);
 
            if (moveHeight != 0) {
 
                float_banner.style.top = float_banner.offsetTop + moveHeight + "px";
 
                setTimeout(scroll_ad, speed);
 
            }
 
            //alert(scrollTop);
 
        }
 
    </script>
 
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 03:34, 18 October 2018

style = "font-family: Helvetica;"