Template:Team:KIT-Kyoto/hp

From 2014.igem.org

(Difference between revisions)
Line 15: Line 15:
if(pbw >= 1158){
if(pbw >= 1158){
$("#picbox").css({"width":"810px"});
$("#picbox").css({"width":"810px"});
-
}else if(pbw >=569){
+
}else if(pbw >= 569){
$("#picbox").css({"width":"540px"});
$("#picbox").css({"width":"540px"});
}else {
}else {
Line 46: Line 46:
     }
     }
     else if(picbox >= mpicw){
     else if(picbox >= mpicw){
-
    $(".pic1 li:nth-child(3)").animate({opacity:"1"},1200);
+
    $(".pic1 li:nth-child(3)").animate({opacity:"1"},1200);
     }else {
     }else {
     $(".pic1 li:nth-child(2)").css({opacity:"0"});
     $(".pic1 li:nth-child(2)").css({opacity:"0"});
Line 73: Line 73:
     if(picbox >= picw){
     if(picbox >= picw){
     $(".pic2 li:nth-child(4)").animate({opacity:"1"},1200);
     $(".pic2 li:nth-child(4)").animate({opacity:"1"},1200);
-
     }
+
     }else if(picbox >= mpicw){
-
    else if(picbox >= mpicw){
+
     $(".pic2 li:nth-child(3)").animate({opacity:"1"},1200);
     $(".pic2 li:nth-child(3)").animate({opacity:"1"},1200);
     }else {
     }else {

Revision as of 19:33, 26 September 2014