Team:Groningen/Templates/Navigationbar

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<script>
<script>
-
$('a.navigation').click(function(e)
 
-
{
 
-
    // Special stuff to do when this link is clicked...
 
-
    // Cancel the default action
+
$('a.navigation').click(function(){
-
     e.preventDefault();
+
     $("html, body").animate({ scrollTop: 0 }, 600);
-
});
+
    return false;
 +
    });
</script>
</script>

Revision as of 20:56, 4 October 2013