Difference between revisions of "Template:China Tongji Head"

Line 160: Line 160:
 
             </div>
 
             </div>
 
         </div>
 
         </div>
         <div class="navOne" id="divSafety"><a class="navOneA" id="Safety" href="https://2015.igem.org/Team:China_Tongji/Safety">Safety</a></div>
+
         <div class="navOne" id="divSafety"><a class="navOneA" id="Safety" href="">Safety</a></div>
 
     </div>     
 
     </div>     
 
</div>
 
</div>
Line 167: Line 167:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
jQuery(document).ready(function($){
 
jQuery(document).ready(function($){
 +
//单击导航栏后跳转到指定页面
 +
$('#divSafety').click(function(){ location.href='https://2015.igem.org/Team:China_Tongji/Safety';});
 
//--------单击二级标题时,动态定位到页面指定位置-----------//
 
//--------单击二级标题时,动态定位到页面指定位置-----------//
 
//Project二级标题
 
//Project二级标题

Revision as of 19:14, 28 August 2015