Difference between revisions of "Template:China Tongji Head"

Line 6: Line 6:
 
jQuery(document).ready(function($){
 
jQuery(document).ready(function($){
  
$('#navOverview').click(function(){$('html,body').animate({scrollTop: $('#Overview').offset().top-78}, 800);});
 
$('#navBackground').click(function(){$('html,body').animate({scrollTop: $('#Background').offset().top-78}, 800);});
 
$('#navDesign').click(function(){$('html,body').animate({scrollTop: $('#Design').offset().top-78}, 800);});
 
$('#navProtocol').click(function(){$('html,body').animate({scrollTop: $('#Protocol').offset().top-78}, 800);});
 
$('#navSummaryResult').click(function(){$('html,body').animate({scrollTop: $('#SummaryResult').offset().top-78}, 800);});
 
 
 
 
$('#navRecord').click(function(){$('html,body').animate({scrollTop: $('#Record').offset().top-78}, 800);});  
 
$('#navRecord').click(function(){$('html,body').animate({scrollTop: $('#Record').offset().top-78}, 800);});  
Line 155: Line 150:
 
         <div class="navOne" id="divProject"><a class="navOneA" id="Project" href="https://2015.igem.org/Team:China_Tongji/Project">Project <img src="https://static.igem.org/mediawiki/2015/0/07/China_Tongji_2015_dropdown_arrow.png"></a>
 
         <div class="navOne" id="divProject"><a class="navOneA" id="Project" href="https://2015.igem.org/Team:China_Tongji/Project">Project <img src="https://static.igem.org/mediawiki/2015/0/07/China_Tongji_2015_dropdown_arrow.png"></a>
 
             <div class="navDrop">
 
             <div class="navDrop">
                     <li class="navTwo" id="navOverview"><a href="https://2015.igem.org/Team:China_Tongji/Project">Overview</a></li>
+
                     <li class="navTwo" id="navOverview"><a class="navProjectA" href="https://2015.igem.org/Team:China_Tongji/Project">Overview</a></li>
                     <li class="navTwo" id="navBackground"><a href="https://2015.igem.org/Team:China_Tongji/Project">Background</a></li>
+
                     <li class="navTwo" id="navBackground"><a class="navProjectA" href="https://2015.igem.org/Team:China_Tongji/Project">Background</a></li>
                     <li class="navTwo" id="navDesign"><a href="https://2015.igem.org/Team:China_Tongji/Project">Design</a></li>
+
                     <li class="navTwo" id="navDesign"><a class="navProjectA" href="https://2015.igem.org/Team:China_Tongji/Project">Design</a></li>
                     <li class="navTwo" id="navProtocol"><a href="https://2015.igem.org/Team:China_Tongji/Project">Protocol</a></li>
+
                     <li class="navTwo" id="navProtocol"><a class="navProjectA" href="https://2015.igem.org/Team:China_Tongji/Project">Protocol</a></li>
                     <li class="navTwo" id="navSummaryResult"><a href="https://2015.igem.org/Team:China_Tongji/Project">Summary and Result</a></li>
+
                     <li class="navTwo" id="navSummaryResult"><a class="navProjectA" href="https://2015.igem.org/Team:China_Tongji/Project">Summary and Result</a></li>
 
             </div>
 
             </div>
 
         </div>
 
         </div>

Revision as of 21:12, 27 July 2015