Difference between revisions of "Template:SJTU-software"

Line 499: Line 499:
 
     </div>
 
     </div>
  
    <script type="text/javascript" src="https://raw.githubusercontent.com/sjtusoftware2018/2018iGEM_wiki/master/js/jquery.min.js"></script>
+
 
    <script>
+
        /*-----------------------------------------------------------------------------------*/
+
        /* Scroll to top
+
        /*-----------------------------------------------------------------------------------*/       
+
        $('.widget-cols .scroll').click(function(){
+
            $("html, body").animate({ scrollTop: 0 }, 600);
+
            return false;
+
        });
+
        /*-----------------------------------------------------------------------------------*/
+
    </script>
+
 
    
 
    
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 12:56, 26 September 2018