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 | + | <div class="navOne" id="divHome"><a class="navOneA" id="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=" | + | <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="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 167: | Line 167: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
jQuery(document).ready(function($){ | jQuery(document).ready(function($){ | ||
− | // | + | //单击导航栏后跳转到指定面 |
− | $('# | + | $('#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"; }); | ||
//--------单击二级标题时,动态定位到页面指定位置-----------// | //--------单击二级标题时,动态定位到页面指定位置-----------// | ||
//Project二级标题 | //Project二级标题 |
Revision as of 19:21, 28 August 2015