Team:BIT/index.js

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
$("#tooltip1").css("margin-top",90);
$("#tooltip1").css("margin-top",90);
$("#tooltip1").css("margin-left",80);
$("#tooltip1").css("margin-left",80);
-
$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
+
//$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
  });
  });
   $("#project").mouseout(function(){
   $("#project").mouseout(function(){
Line 19: Line 19:
$("#tooltip2").css("margin-top",10);
$("#tooltip2").css("margin-top",10);
$("#tooltip2").css("margin-left",420);
$("#tooltip2").css("margin-left",420);
-
$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
+
//$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
  });
  });
   $("#team").mouseout(function(){
   $("#team").mouseout(function(){
Line 31: Line 31:
$("#tooltip6").css("margin-top",380);
$("#tooltip6").css("margin-top",380);
$("#tooltip6").css("margin-left",100);
$("#tooltip6").css("margin-left",100);
-
$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
+
//$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
});
});
   $("#notebook").mouseout(function(){
   $("#notebook").mouseout(function(){
Line 42: Line 42:
$("#tooltip4").css("margin-top",580);
$("#tooltip4").css("margin-top",580);
$("#tooltip4").css("margin-left",700);
$("#tooltip4").css("margin-left",700);
-
$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
+
//$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
  });
  });
   $("#human").mouseout(function(){
   $("#human").mouseout(function(){
Line 53: Line 53:
$("#tooltip5").css("margin-top",360);
$("#tooltip5").css("margin-top",360);
$("#tooltip5").css("margin-left",700);
$("#tooltip5").css("margin-left",700);
-
$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
+
//$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
  });
  });
   $("#inter").mouseout(function(){
   $("#inter").mouseout(function(){
Line 64: Line 64:
$("#tooltip7").css("margin-top",480);
$("#tooltip7").css("margin-top",480);
$("#tooltip7").css("margin-left",450);
$("#tooltip7").css("margin-left",450);
-
$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
+
//$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
  });
  });
   $("#model").mouseout(function(){
   $("#model").mouseout(function(){
Line 75: Line 75:
$("#tooltip3").css("margin-top",50);
$("#tooltip3").css("margin-top",50);
$("#tooltip3").css("margin-left",680);
$("#tooltip3").css("margin-left",680);
-
$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
+
//$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi");
  });
  });
   $("#device").mouseout(function(){
   $("#device").mouseout(function(){

Revision as of 13:34, 16 October 2014

// JavaScript Document

/*图片变色*/

$(document).ready(function(){

 $("#project").mouseover(function(){
   $("#project").attr("src","BIT_Project.gif");

$("#tooltip1").css("margin-top",90); $("#tooltip1").css("margin-left",80); //$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi"); });

 $("#project").mouseout(function(){
   $("#project").attr("src","BIT_project.png");
     });

}); $(document).ready(function(){

 $("#team").mouseover(function(){
   $("#team").attr("src","BIT_team2.png");

$("#tooltip2").css("margin-top",10); $("#tooltip2").css("margin-left",420); //$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi"); });

 $("#team").mouseout(function(){
   $("#team").attr("src","BIT_team.png");
     });

}); $(document).ready(function(){

 $("#notebook").mouseover(function(){
   $("#notebook").attr("src","BIT_notebook2.png");

$("#tooltip6").css("margin-top",380); $("#tooltip6").css("margin-left",100); //$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi"); });

 $("#notebook").mouseout(function(){
   $("#notebook").attr("src","BIT_notebook.png");
     });

}); $(document).ready(function(){

 $("#human").mouseover(function(){
   $("#human").attr("src","BIT_Human.gif");

$("#tooltip4").css("margin-top",580); $("#tooltip4").css("margin-left",700); //$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi"); });

 $("#human").mouseout(function(){
   $("#human").attr("src","BIT_human.png");
     });

}); $(document).ready(function(){

 $("#inter").mouseover(function(){
   $("#inter").attr("src","BIT_inter2.png");

$("#tooltip5").css("margin-top",360); $("#tooltip5").css("margin-left",700); //$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi"); });

 $("#inter").mouseout(function(){
   $("#inter").attr("src","BIT_inter.png");
     });

}); $(document).ready(function(){

 $("#model").mouseover(function(){
   $("#model").attr("src","BIT_model2.png");

$("#tooltip7").css("margin-top",480); $("#tooltip7").css("margin-left",450); //$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi"); });

 $("#model").mouseout(function(){
   $("#model").attr("src","BIT_model.png");
     });

}); $(document).ready(function(){

 $("#device").mouseover(function(){
   $("#device").attr("src","BIT_Device.gif");

$("#tooltip3").css("margin-top",50); $("#tooltip3").css("margin-left",680); //$("#tip").html("to amplifier then and brought the amplifier into operation. Thus the amplifier would produce high massi"); });

 $("#device").mouseout(function(){
   $("#device").attr("src","BIT_device.png");
     });

});