Difference between revisions of "Template:XJTU-China/Header"

m (remove "Our team" page)
 
(28 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
   <link rel="stylesheet" href="https://fonts.css.network/css?family=Ubuntu" />
 
   <link rel="stylesheet" href="https://fonts.css.network/css?family=Ubuntu" />
 
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
 
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
   <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:XJTU-China/home.css&action=raw&ctype=text/css" />
+
   <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:XJTU-China/header.css&action=raw&ctype=text/css" />
   <!-- link rel="stylesheet" type="text/css" href="xjtu-home-2.css" / -->
+
   <!-- link rel="stylesheet" type="text/css" href="../header.css" / -->
 
</head>
 
</head>
 
<body>  
 
<body>  
Line 28: Line 28:
 
             <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Project">Project</a>
 
             <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Project">Project</a>
 
             <ul class="dropdown-menu">
 
             <ul class="dropdown-menu">
               <li><a href="https://2018.igem.org/Team:XJTU-China/Project#Description">Description</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Project">Overview</a></li>
               <li><a href="https://2018.igem.org/Team:XJTU-China/Project#Design">Design</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Circuits">Circuits</a></li>
              <li><a href="https://2018.igem.org/Team:XJTU-China/Project#Parts">Parts</a></li>
+
              <li><a href="https://2018.igem.org/Team:XJTU-China/Project#Safety">Safety</a></li>
+
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Demonstrate">Demonstrate</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Demonstrate">Demonstrate</a></li>
 
             </ul>
 
             </ul>
 +
          </li>
 +
          <li class="nav-item dropdown">
 +
            <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Parts">Parts</a>
 +
            <ul class="dropdown-menu">
 +
              <li><a href="https://2018.igem.org/Team:XJTU-China/Parts#section1">Basic</a></li>
 +
              <li><a href="https://2018.igem.org/Team:XJTU-China/Parts#section2">Composite</a></li>
 +
              <li><a href="https://2018.igem.org/Team:XJTU-China/Parts#section3">Collection</a></li>
 +
              <li><a href="https://2018.igem.org/Team:XJTU-China/Improve">Improve</a></li>
 +
            </ul>
 +
          </li>
 +
          <li class="nav-item dropdown">
 +
            <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Safety">Safety</a>
 
           </li>
 
           </li>
 
           <li class="nav-item dropdown">
 
           <li class="nav-item dropdown">
 
             <a class="nav-link" href="#Wetlab">Wetlab</a>
 
             <a class="nav-link" href="#Wetlab">Wetlab</a>
 
             <ul class="dropdown-menu">
 
             <ul class="dropdown-menu">
              <li><a href="#Overview">Overview</a></li>
 
              <li><a href="#Sensing_Circuit">Sensing Circuit</a></li>
 
              <li><a href="#Selecting_Circuit">Selecting Circuit</a></li>
 
              <li><a href="#Coupling_Circuit">Coupling Circuit</a></li>
 
              <li><a href="#Evolving_Circuit">Evolving Circuit</a></li>
 
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/InterLab">InterLab</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/InterLab">InterLab</a></li>
               <li><a href="https://2018.igem.org/Team:XJTU-China/Measurement">Measurement</a></li>
+
               <!--li><a href="https://2018.igem.org/Team:XJTU-China/Measurement">Measurement</a></li-->
               <li><a href="#Protocols">Protocols</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Protocols">Protocols</a></li>
               <li><a href="#Notebook">Notebook</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Notebook">Notebook</a></li>
 
             </ul>
 
             </ul>
 
           </li>
 
           </li>
Line 52: Line 57:
 
             <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Model">Drylab</a>
 
             <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Model">Drylab</a>
 
             <ul class="dropdown-menu">
 
             <ul class="dropdown-menu">
               <li><a href="https://2018.igem.org/Team:XJTU-China/Model#Overview">Overview</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Drylab#Overview">Overview</a></li>
               <li><a href="https://2018.igem.org/Team:XJTU-China/Model#Model_A">Model A</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Model">Models</a></li>
              <li><a href="https://2018.igem.org/Team:XJTU-China/Model#Model_B">Model B</a></li>
+
              <li><a href="https://2018.igem.org/Team:XJTU-China/Model#Model_C">Model C</a></li>
+
              <li><a href="https://2018.igem.org/Team:XJTU-China/Model#Model_D">Model D</a></li>
+
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Hardware">Hardware</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Hardware">Hardware</a></li>
 
             </ul>
 
             </ul>
Line 65: Line 67:
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Human_Practices#Silver">Silver</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Human_Practices#Silver">Silver</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Human_Practices#Integrated_and_Gold">Integrated and Gold</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Human_Practices#Integrated_and_Gold">Integrated and Gold</a></li>
               <li><a href="https://2018.igem.org/Team:XJTU-China/Public_Engagement">Public engagement</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Public_Engagement">Public Engagement</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Entrepreneurship">Entrepreneurship</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Entrepreneurship">Entrepreneurship</a></li>
 
             </ul>
 
             </ul>
Line 72: Line 74:
 
             <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Team">Team</a>
 
             <a class="nav-link" href="https://2018.igem.org/Team:XJTU-China/Team">Team</a>
 
             <ul class="dropdown-menu">
 
             <ul class="dropdown-menu">
               <li><a href="https://2018.igem.org/Team:XJTU-China/Team#Our_team">Our team</a></li>
+
               <li><a href="https://2018.igem.org/Team:XJTU-China/Acknowledgement">Acknowledgement</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Attributions">Attribution</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Attributions">Attribution</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Collaborations">Collaboration</a></li>
 
               <li><a href="https://2018.igem.org/Team:XJTU-China/Collaborations">Collaboration</a></li>
               <li><a href="https://2018.igem.org/Team:XJTU-China/Team#Awards">Awards</a></li>
+
               <!--li><a href="https://2018.igem.org/Team:XJTU-China/Team#Awards">Awards</a></li-->
 
             </ul>
 
             </ul>
 
           </li>
 
           </li>
Line 85: Line 87:
 
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
 
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
 
<script type='text/javascript' src="https://2018.igem.org/wiki/index.php?title=Template:XJTU-China/jquery.waypoints.min.js&action=raw&ctype=text/javascript"></script>
 
<script type='text/javascript' src="https://2018.igem.org/wiki/index.php?title=Template:XJTU-China/jquery.waypoints.min.js&action=raw&ctype=text/javascript"></script>
 +
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
 
<script>
 
<script>
 
$(document).ready(function(){
 
$(document).ready(function(){
Line 93: Line 96:
 
     $(function() {
 
     $(function() {
 
       $('#top-nav .nav-link').clearQueue().animate({lineHeight: '74px'}, 200, 'linear');
 
       $('#top-nav .nav-link').clearQueue().animate({lineHeight: '74px'}, 200, 'linear');
       $('.navbar').clearQueue().animate({opacity: '0.75'}, 200, 'linear');
+
       $('header>.navbar').clearQueue().animate({opacity: '0.75'}, 200, 'linear');
       $('.navbar-header').clearQueue().animate({top: '10px'}, 200, 'linear');
+
       $('header .navbar-header').clearQueue().animate({top: '10px'}, 200, 'linear');
 
       $('header').data('expend', 'true');
 
       $('header').data('expend', 'true');
 
       console.log('scoll to the top');
 
       console.log('scoll to the top');
 
     });
 
     });
   } else if ($(this).scrollTop() != 0 && $('header').data('expend') != 'false') {
+
   } else if ($(this).scrollTop() != 0) {
    $(function() {
+
    if ($('header').data('expend') != 'false') {
      $('.navbar-header').clearQueue().animate({top: '0'}, 400, 'linear');
+
      $(function() {
      $('.navbar').clearQueue().animate({opacity: '1'}, 400, 'linear');
+
        $('header .navbar-header').clearQueue().animate({top: '0'}, 400, 'linear');
      $('#top-nav .nav-link').clearQueue().animate({lineHeight: '54px'}, 400, 'linear');
+
        $('header>.navbar').clearQueue().animate({opacity: '1'}, 400, 'linear');
      $('header').data('expend', 'false');
+
        $('#top-nav .nav-link').clearQueue().animate({lineHeight: '54px'}, 400, 'linear');
 +
        $('header').data('expend', 'false');
 
     });
 
     });
 +
    }
 
   }
 
   }
 
  });
 
  });

Latest revision as of 01:42, 18 October 2018