Team:BIT/team.js
From 2014.igem.org
Line 24: | Line 24: | ||
$(".ch-img-111").mouseover(function(){ | $(".ch-img-111").mouseover(function(){ | ||
$("#more11").css("display","block"); | $("#more11").css("display","block"); | ||
- | $("#more11").html(" | + | $("#more11").html(""); |
}); | }); | ||
Line 84: | Line 84: | ||
$("#ch-img-311").mouseover(function(){ | $("#ch-img-311").mouseover(function(){ | ||
$("#more33").css("display","block"); | $("#more33").css("display","block"); | ||
- | $("#more33").html("detail | + | $("#more33").html("detail 31"); |
}); | }); | ||
$("#ch-img-321").mouseover(function(){ | $("#ch-img-321").mouseover(function(){ | ||
$("#more33").css("display","block"); | $("#more33").css("display","block"); | ||
- | $("#more33").html("detail | + | $("#more33").html("detail 32"); |
}); | }); |
Revision as of 21:36, 17 October 2014
// JavaScript Document $(document).ready(function(){
$(".ch-img-11").mouseover(function(){
$("#more1").css("display","block"); $("#more1").html("Chen Ye");
}); $(".ch-img-12").mouseover(function(){
$("#more1").css("display","block"); $("#more1").html("Song Da");
}); $(".ch-img-13").mouseover(function(){
$("#more1").css("display","block"); $("#more1").html("detail 3");
}); $(".ch-img-14").mouseover(function(){
$("#more1").css("display","block"); $("#more1").html("detail 4");
});
$(".ch-img-111").mouseover(function(){ $("#more11").css("display","block"); $("#more11").html("");
}); $(".ch-img-112").mouseover(function(){
$("#more11").css("display","block"); $("#more11").html("detail 2");
}); $(".ch-img-113").mouseover(function(){
$("#more11").css("display","block"); $("#more11").html("detail 3");
}); $(".ch-img-114").mouseover(function(){
$("#more11").css("display","block"); $("#more11").html("detail 4");
}); $(".ch-img-21").mouseover(function(){
$("#more2").css("display","block"); $("#more2").html("detail 1");
}); $(".ch-img-22").mouseover(function(){
$("#more2").css("display","block"); $("#more2").html("detail 2");
}); $(".ch-img-23").mouseover(function(){
$("#more2").css("display","block"); $("#more2").html("detail 3");
}); $(".ch-img-24").mouseover(function(){
$("#more2").css("display","block"); $("#more2").html("detail 4");
}); $("#ch-img-31").mouseover(function(){
$("#more3").css("display","block"); $("#more3").html("detail 1");
}); $("#ch-img-32").mouseover(function(){
$("#more3").css("display","block"); $("#more3").html("detail 2");
}); $("#ch-img-33").mouseover(function(){
$("#more3").css("display","block"); $("#more3").html("detail 3");
}); $("#ch-img-34").mouseover(function(){
$("#more3").css("display","block"); $("#more3").html("detail 4");
});
$("#ch-img-311").mouseover(function(){ $("#more33").css("display","block"); $("#more33").html("detail 31");
}); $("#ch-img-321").mouseover(function(){
$("#more33").css("display","block"); $("#more33").html("detail 32");
}); $("#ch-img-331").mouseover(function(){
$("#more33").css("display","block"); $("#more33").html("detail 3");
}); $("#ch-img-341").mouseover(function(){
$("#more33").css("display","block"); $("#more33").html("detail 4");
}); $("#ch-img-41").mouseover(function(){
$("#more4").css("display","block"); $("#more4").html("detail 1");
}); $("#ch-img-42").mouseover(function(){
$("#more4").css("display","block"); $("#more4").html("detail 2");
}); $("#ch-img-43").mouseover(function(){
$("#more4").css("display","block"); $("#more4").html("detail 3");
}); $("#ch-img-44").mouseover(function(){
$("#more4").css("display","block"); $("#more4").html("detail 4");
});
})