Difference between revisions of "Template:China Tongji Head"

Line 120: Line 120:
 
     </div>  
 
     </div>  
 
     <div class="nav">
 
     <div class="nav">
         <div class="navOne" id="divHome"><a class="navOneA" id="Home">Home</a></div>
+
         <div class="navOne" id="divHome"><a class="navOneA" id="Home" href="https://2015.igem.org/Team:China_Tongji/Home">Home</a></div>
 
         <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">
Line 154: Line 154:
 
             </div>
 
             </div>
 
         </div>
 
         </div>
         <div class="navOne" id="divOutreach"><a class="navOneA" id="Outreach">Outreach <img src="https://static.igem.org/mediawiki/2015/0/07/China_Tongji_2015_dropdown_arrow.png"></a>
+
         <div class="navOne" id="divOutreach"><a class="navOneA" id="Outreach" href="https://2015.igem.org/Team:China_Tongji/Outreach">Outreach <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="navHumanPractice"><a>Human Practice</a></li>
 
                 <li class="navTwo" id="navHumanPractice"><a>Human Practice</a></li>
Line 160: Line 160:
 
             </div>
 
             </div>
 
         </div>
 
         </div>
         <div class="navOne" id="divSafety"><a class="navOneA" id="Safety">Safety</a></div>
+
         <div class="navOne" id="divSafety"><a class="navOneA" id="Safety" href="https://2015.igem.org/Team:China_Tongji/Safety">Safety</a></div>
 
     </div>     
 
     </div>     
 
</div>
 
</div>
Line 169: Line 169:
 
//单击导航栏后跳转到指定面
 
//单击导航栏后跳转到指定面
 
$('#divHome').click(function(){ location.href="https://2015.igem.org/Team:China_Tongji"; });
 
$('#divHome').click(function(){ location.href="https://2015.igem.org/Team:China_Tongji"; });
$('#divOutreach').click(function(){ location.href="https://2015.igem.org/Team:China_Tongji/Outreach"; });
 
 
$('#divSafety').click(function(){ location.href="https://2015.igem.org/Team:China_Tongji/Safety"; });
 
$('#divSafety').click(function(){ location.href="https://2015.igem.org/Team:China_Tongji/Safety"; });
 
//--------单击二级标题时,动态定位到页面指定位置-----------//
 
//--------单击二级标题时,动态定位到页面指定位置-----------//

Revision as of 19:27, 28 August 2015