Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

(Difference between revisions)
Line 13: Line 13:
   });
   });
});
});
-
$('.spiderbutton').click(function(){
+
jQuery(document).ready(function($){
-
         $("html, body").animate({ scrollTop: 0 }, 500);
+
    $('.spiderbutton').click(function(){
 +
         $("html, body").scrollTop(0);
         return false;
         return false;
     });
     });
-
 
+
});
</script>
</script>
</html>
</html>

Revision as of 22:48, 5 September 2014