Template:USTC-Software/header
From 2013.igem.org
(Difference between revisions)
Line 79: | Line 79: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | <div id="direction"> | ||
+ | <ul> | ||
+ | <li><a href="https://2013.igem.org/Team:USTC-Software" class="button">Home</a> | ||
+ | <li><a href="https://2013.igem.org/Team:USTC-Software/Project/Overall" class="button">Project</a> | ||
+ | <li><a href="https://2013.igem.org/Team:USTC-Software/Achieve/Medal" class="button">Achieve</a> | ||
+ | <li><a href="https://2013.igem.org/Team:USTC-Software/term" class="button">Dev Notes</a> | ||
+ | <li><a href="https://2013.igem.org/Team:USTC-Software/team" class="button">Team</a> | ||
+ | <li><a href="https://2013.igem.org/Team:USTC-Software/Human_practice" class="button">Others</a> | ||
+ | </ul> | ||
+ | </div> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $(".button").click(function(){ | ||
+ | var href = $(this).attr("href"); | ||
+ | var pos = $(href).offset().top - 100; | ||
+ | $("html,body").animate({scrollTop: pos}, 1500);//the smaller the quicker | ||
+ | return false; | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
</body> | </body> |
Revision as of 11:13, 19 October 2013