Team:OUC-China

From 2011.igem.org

(Difference between revisions)
Line 106: Line 106:
   $(document).ready(function(){
   $(document).ready(function(){
  $("#gTop .navlink").mousedown(function(){
  $("#gTop .navlink").mousedown(function(){
-
  $($(this).attr("href")).fadeIn(200);
+
  $($(this).attr("href")).stop(true).fadeIn(200);
  return false;
  return false;
  });
  });
   $("#gTop .navlink").mouseover(function(){
   $("#gTop .navlink").mouseover(function(){
   console.log("ok");
   console.log("ok");
-
   $($(this).attr("href")).fadeIn(200);
+
   $($(this).attr("href")).stop(true).fadeIn(200);
   });
   });
   $(".submenus").mouseleave(function(){
   $(".submenus").mouseleave(function(){

Revision as of 04:33, 4 October 2011

Home Team Official Team Profile Project Parts Submitted to the Registry Modeling Notebook Safety Attributions