Team:XMU Software/js

From 2013.igem.org

(Difference between revisions)
Line 153: Line 153:
/*member.js*****************************************************************************************/
/*member.js*****************************************************************************************/
 +
member_jjj_iii_ooo1= 0;
 +
member_jjj_iii_ooo2= 0;
 +
member_jjj_iii_ooo3= 0;
 +
member_jjj_iii_ooo4= 0;
 +
member_jjj_iii_ooo5= 0;
 +
member_jjj_iii_ooo6= 0;
 +
member_jjj_iii_ooo7= 0;
 +
member_jjj_iii_ooo8= 0;
 +
member_jjj_iii_ooo9= 0;
 +
member_jjj_iii_ooo10= 0;
 +
member_jjj_iii_ooo11= 0;
function over1(){
function over1(){
 +
member_jjj_iii_ooo1= 0;
 +
     $("#T1").fadeTo("slow",0.5);
     $("#T1").fadeTo("slow",0.5);
     $("#TT1").animate({
     $("#TT1").animate({
Line 161: Line 174:
},"fast",
},"fast",
function (){
function (){
-
    $("#w1").show().animate({
+
    $("#w1").show().animate({top:'430px',left:'920px',zIndex:'5',},30).animate({
-
top:'430px',
+
-
        left:'920px',
+
-
        zIndex:'5',
+
-
},30).animate({
+
             top:'430px',
             top:'430px',
        left:'820px',
        left:'820px',
Line 187: Line 196:
        left:'828px',
        left:'828px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo1==1)
 +
{
 +
out1();
 +
}
 +
})
}
}
)})
)})
-
})
+
});
-
document.getElementById("w2").style.display="none";
+
 
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out1(){
function out1(){
-
$("#T1").fadeTo("slow",1);
+
member_jjj_iii_ooo1=1;
-
$("#TT1").animate({
+
$("#T1").fadeTo("slow",1);
-
    top:'270px',
+
$("#TT1").animate({
-
    height:'150px',
+
top:'270px',
-
    left:'620px',
+
height:'150px',
-
})
+
left:'620px',
-
document.getElementById("w1").style.display="none";
+
})
-
document.getElementById("ww1").style.display="none";
+
document.getElementById("w1").style.display="none";
-
document.getElementById("www1").style.display="none";
+
document.getElementById("ww1").style.display="none";
 +
document.getElementById("www1").style.display="none";
 +
 
}
}
function over2(){
function over2(){
 +
member_jjj_iii_ooo2= 0;
$("#T2").fadeTo("slow",0.5);
$("#T2").fadeTo("slow",0.5);
     $("#TT2").animate({
     $("#TT2").animate({
Line 267: Line 255:
        left:'828px',
        left:'828px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo2==1)
 +
{
 +
out2();
 +
}
 +
})
}
}
)})
)})
}
}
)
)
-
document.getElementById("w1").style.display="none";
+
 
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out2(){
function out2(){
 +
member_jjj_iii_ooo2=1;
$("#T2").fadeTo("slow",1);
$("#T2").fadeTo("slow",1);
     $("#TT2").animate({
     $("#TT2").animate({
Line 312: Line 277:
document.getElementById("w2").style.display="none";
document.getElementById("w2").style.display="none";
document.getElementById("ww2").style.display="none";
document.getElementById("ww2").style.display="none";
-
document.getElementById("www2").style.display="none";
+
document.getElementById("www2").style.display="none";
 +
 
}
}
function over3(){
function over3(){
 +
member_jjj_iii_ooo3= 0;
$("#T3").fadeTo("slow",0.5);
$("#T3").fadeTo("slow",0.5);
     $("#TT3").animate({
     $("#TT3").animate({
Line 348: Line 315:
        left:'68px',
        left:'68px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo3==1)
 +
{
 +
out3();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
 
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out3(){
function out3(){
 +
member_jjj_iii_ooo3=1;
$("#T3").fadeTo("slow",1);
$("#T3").fadeTo("slow",1);
$("#TT3").animate({
$("#TT3").animate({
Line 394: Line 338:
document.getElementById("ww3").style.display="none";
document.getElementById("ww3").style.display="none";
document.getElementById("www3").style.display="none";
document.getElementById("www3").style.display="none";
-
}function over4(){
+
 
 +
}
 +
function over4(){member_jjj_iii_ooo4= 0;
$("#T4").fadeTo("slow",0.5);
$("#T4").fadeTo("slow",0.5);
     $("#TT4").animate({
     $("#TT4").animate({
Line 428: Line 374:
        left:'828px',
        left:'828px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo4==1)
 +
{
 +
out4();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out4(){
function out4(){
 +
member_jjj_iii_ooo4=1;
$("#T4").fadeTo("slow",1);
$("#T4").fadeTo("slow",1);
     $("#TT4").animate({
     $("#TT4").animate({
Line 474: Line 397:
document.getElementById("ww4").style.display="none";
document.getElementById("ww4").style.display="none";
document.getElementById("www4").style.display="none";
document.getElementById("www4").style.display="none";
-
}function over5(){
+
 +
}
 +
function over5(){member_jjj_iii_ooo5= 0;
$("#T5").fadeTo("slow",0.5);
$("#T5").fadeTo("slow",0.5);
     $("#TT5").animate({
     $("#TT5").animate({
Line 508: Line 433:
        left:'68px',
        left:'68px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo5==1)
 +
{
 +
out5();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out5(){
function out5(){
 +
member_jjj_iii_ooo5=1;
$("#T5").fadeTo("slow",1);
$("#T5").fadeTo("slow",1);
     $("#TT5").animate({
     $("#TT5").animate({
Line 553: Line 455:
document.getElementById("w5").style.display="none";
document.getElementById("w5").style.display="none";
document.getElementById("ww5").style.display="none";
document.getElementById("ww5").style.display="none";
-
document.getElementById("www5").style.display="none";
+
document.getElementById("www5").style.display="none";
-
}function over6(){
+
 
 +
}
 +
function over6(){member_jjj_iii_ooo6= 0;
$("#T6").fadeTo("slow",0.5);
$("#T6").fadeTo("slow",0.5);
     $("#TT6").animate({
     $("#TT6").animate({
Line 588: Line 492:
        left:'828px',
        left:'828px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo6==1)
 +
{
 +
out6();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
 
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out6(){
function out6(){
 +
member_jjj_iii_ooo6=1;
$("#T6").fadeTo("slow",1);
$("#T6").fadeTo("slow",1);
     $("#TT6").animate({
     $("#TT6").animate({
Line 634: Line 515:
document.getElementById("ww6").style.display="none";
document.getElementById("ww6").style.display="none";
document.getElementById("www6").style.display="none";
document.getElementById("www6").style.display="none";
-
}function over7(){
+
 +
}
 +
function over7(){member_jjj_iii_ooo7= 0;
$("#T7").fadeTo("slow",0.5);
$("#T7").fadeTo("slow",0.5);
     $("#TT7").animate({
     $("#TT7").animate({
Line 668: Line 551:
        left:'68px',
        left:'68px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo7==1)
 +
{
 +
out7();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
 
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out7(){
function out7(){
 +
member_jjj_iii_ooo7=1;
$("#T7").fadeTo("slow",1);
$("#T7").fadeTo("slow",1);
     $("#TT7").animate({
     $("#TT7").animate({
Line 714: Line 574:
document.getElementById("ww7").style.display="none";
document.getElementById("ww7").style.display="none";
document.getElementById("www7").style.display="none";
document.getElementById("www7").style.display="none";
-
}function over8(){
+
 
 +
 +
}
 +
function over8(){member_jjj_iii_ooo8= 0;
$("#T8").fadeTo("slow",0.5);
$("#T8").fadeTo("slow",0.5);
     $("#TT8").animate({
     $("#TT8").animate({
Line 748: Line 611:
        left:'828px',
        left:'828px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo8==1)
 +
{
 +
out8();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
 
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out8(){
function out8(){
 +
member_jjj_iii_ooo8=1;
$("#T8").fadeTo("slow",1);
$("#T8").fadeTo("slow",1);
     $("#TT8").animate({
     $("#TT8").animate({
Line 794: Line 634:
document.getElementById("ww8").style.display="none";
document.getElementById("ww8").style.display="none";
document.getElementById("www8").style.display="none";
document.getElementById("www8").style.display="none";
 +
}
}
-
function over9(){
+
function over9(){member_jjj_iii_ooo9= 0;
$("#T9").fadeTo("slow",0.5);
$("#T9").fadeTo("slow",0.5);
     $("#TT9").animate({
     $("#TT9").animate({
Line 829: Line 670:
        left:'68px',
        left:'68px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo9==1)
 +
{
 +
out9();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
 
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w10").style.display="none";
+
-
document.getElementById("ww10").style.display="none";
+
-
document.getElementById("www10").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out9(){
function out9(){
 +
member_jjj_iii_ooo9=1;
$("#T9").fadeTo("slow",1);
$("#T9").fadeTo("slow",1);
     $("#TT9").animate({
     $("#TT9").animate({
Line 875: Line 693:
document.getElementById("ww9").style.display="none";
document.getElementById("ww9").style.display="none";
document.getElementById("www9").style.display="none";
document.getElementById("www9").style.display="none";
 +
}
}
-
function over10(){
+
function over10(){member_jjj_iii_ooo10= 0;
$("#T10").fadeTo("slow",0.5);
$("#T10").fadeTo("slow",0.5);
     $("#TT10").animate({
     $("#TT10").animate({
Line 910: Line 729:
        left:'828px',
        left:'828px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo10==1)
 +
{
 +
out10();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
+
 
-
document.getElementById("ww1").style.display="none";
+
-
document.getElementById("www1").style.display="none";
+
-
document.getElementById("w3").style.display="none";
+
-
document.getElementById("ww3").style.display="none";
+
-
document.getElementById("www3").style.display="none";
+
-
document.getElementById("w4").style.display="none";
+
-
document.getElementById("ww4").style.display="none";
+
-
document.getElementById("www4").style.display="none";
+
-
document.getElementById("w5").style.display="none";
+
-
document.getElementById("ww5").style.display="none";
+
-
document.getElementById("www5").style.display="none";
+
-
document.getElementById("w6").style.display="none";
+
-
document.getElementById("ww6").style.display="none";
+
-
document.getElementById("www6").style.display="none";
+
-
document.getElementById("w7").style.display="none";
+
-
document.getElementById("ww7").style.display="none";
+
-
document.getElementById("www7").style.display="none";
+
-
document.getElementById("w8").style.display="none";
+
-
document.getElementById("ww8").style.display="none";
+
-
document.getElementById("www8").style.display="none";
+
-
document.getElementById("w9").style.display="none";
+
-
document.getElementById("ww9").style.display="none";
+
-
document.getElementById("www9").style.display="none";
+
-
document.getElementById("w2").style.display="none";
+
-
document.getElementById("ww2").style.display="none";
+
-
document.getElementById("www2").style.display="none";
+
-
document.getElementById("w11").style.display="none";
+
-
document.getElementById("ww11").style.display="none";
+
-
document.getElementById("www11").style.display="none";
+
}
}
function out10(){
function out10(){
 +
member_jjj_iii_ooo10=1;
$("#T10").fadeTo("slow",1);
$("#T10").fadeTo("slow",1);
     $("#TT10").animate({
     $("#TT10").animate({
Line 956: Line 752:
document.getElementById("ww10").style.display="none";
document.getElementById("ww10").style.display="none";
document.getElementById("www10").style.display="none";
document.getElementById("www10").style.display="none";
 +
}
}
-
function over11(){
+
function over11(){member_jjj_iii_ooo11= 0;
$("#T11").fadeTo("slow",0.5);
$("#T11").fadeTo("slow",0.5);
     $("#TT11").animate({
     $("#TT11").animate({
Line 991: Line 788:
        left:'68px',
        left:'68px',
        zIndex:'6',
        zIndex:'6',
-
},500)
+
},500,function(){
 +
if(member_jjj_iii_ooo11==1)
 +
{
 +
out11();
 +
}
 +
})
}
}
)})
)})
}
}
);
);
-
document.getElementById("w1").style.display="none";
 
-
document.getElementById("ww1").style.display="none";
 
-
document.getElementById("www1").style.display="none";
 
-
document.getElementById("w3").style.display="none";
 
-
document.getElementById("ww3").style.display="none";
 
-
document.getElementById("www3").style.display="none";
 
-
document.getElementById("w4").style.display="none";
 
-
document.getElementById("ww4").style.display="none";
 
-
document.getElementById("www4").style.display="none";
 
-
document.getElementById("w5").style.display="none";
 
-
document.getElementById("ww5").style.display="none";
 
-
document.getElementById("www5").style.display="none";
 
-
document.getElementById("w6").style.display="none";
 
-
document.getElementById("ww6").style.display="none";
 
-
document.getElementById("www6").style.display="none";
 
-
document.getElementById("w7").style.display="none";
 
-
document.getElementById("ww7").style.display="none";
 
-
document.getElementById("www7").style.display="none";
 
-
document.getElementById("w8").style.display="none";
 
-
document.getElementById("ww8").style.display="none";
 
-
document.getElementById("www8").style.display="none";
 
-
document.getElementById("w9").style.display="none";
 
-
document.getElementById("ww9").style.display="none";
 
-
document.getElementById("www9").style.display="none";
 
-
document.getElementById("w10").style.display="none";
 
-
document.getElementById("ww10").style.display="none";
 
-
document.getElementById("www10").style.display="none";
 
-
document.getElementById("w2").style.display="none";
 
-
document.getElementById("ww2").style.display="none";
 
-
document.getElementById("www2").style.display="none";
 
}
}
function out11(){
function out11(){
 +
member_jjj_iii_ooo11=1;
$("#T11").fadeTo("slow",1);
$("#T11").fadeTo("slow",1);
     $("#TT11").animate({
     $("#TT11").animate({
Line 1,037: Line 810:
document.getElementById("ww11").style.display="none";
document.getElementById("ww11").style.display="none";
document.getElementById("www11").style.display="none";
document.getElementById("www11").style.display="none";
 +
}
}

Revision as of 15:19, 27 September 2013

/*home.js*****************************************************************************************/ function home(){ document.getElementById("home").style.display="inline"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("project").style.display="none"; document.getElementById("team").style.display="none"; } function requirements(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="inline"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("project").style.display="none"; document.getElementById("team").style.display="none"; } function hp(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="inline"; document.getElementById("notebook").style.display="none"; document.getElementById("project").style.display="none"; document.getElementById("team").style.display="none"; } function notebook(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="inline"; document.getElementById("project").style.display="none"; document.getElementById("team").style.display="none"; } function team(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("project").style.display="none"; document.getElementById("team").style.display="inline"; } function project(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("project").style.display="inline"; document.getElementById("team").style.display="none"; } function project_rbs(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("team").style.display="none"; document.getElementById("project").style.display="inline"; document.getElementById("terminator").style.display="none"; document.getElementById("RBS").style.display="inline"; document.getElementById("promoter").style.display="none"; document.getElementById("protein").style.display="none"; document.getElementById("enote").style.display="none"; } function project_promoter(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("team").style.display="none"; document.getElementById("project").style.display="inline"; document.getElementById("terminator").style.display="none"; document.getElementById("RBS").style.display="none"; document.getElementById("promoter").style.display="inline"; document.getElementById("protein").style.display="none"; document.getElementById("enote").style.display="none"; } function project_terminator(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("team").style.display="none"; document.getElementById("project").style.display="inline"; document.getElementById("terminator").style.display="inline"; document.getElementById("RBS").style.display="none"; document.getElementById("promoter").style.display="none"; document.getElementById("protein").style.display="none"; document.getElementById("enote").style.display="none"; } function project_protein(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("team").style.display="none"; document.getElementById("project").style.display="inline"; document.getElementById("terminator").style.display="none"; document.getElementById("RBS").style.display="none"; document.getElementById("promoter").style.display="none"; document.getElementById("protein").style.display="inline"; document.getElementById("enote").style.display="none"; } function project_enote(){ document.getElementById("home").style.display="none"; document.getElementById("requirements").style.display="none"; document.getElementById("hp").style.display="none"; document.getElementById("notebook").style.display="none"; document.getElementById("team").style.display="none"; document.getElementById("project").style.display="inline"; document.getElementById("terminator").style.display="none"; document.getElementById("RBS").style.display="none"; document.getElementById("promoter").style.display="none"; document.getElementById("protein").style.display="none"; document.getElementById("enote").style.display="inline"; } /*photo.js*****************************************************************************************/ jQuery(function ($){

   if ($(".slide-pic").length > 0) {
       var defaultOpts = { interval: 5000, fadeInTime: 300, fadeOutTime: 200 };
       var _titles = $("ul.slide-txt li");
       var _titles_bg = $("ul.op li");
       var _bodies = $("ul.slide-pic li");
       var _count = _titles.length;
       var _current = 0;
       var _intervalID = null;
       var stop = function () { window.clearInterval(_intervalID); };
       var slide = function (opts) {
           if (opts) {
               _current = opts.current || 0;
           } else {
               _current = (_current >= (_count - 1)) ? 0 : (++_current);
           };
           _bodies.filter(":visible").fadeOut(defaultOpts.fadeOutTime, function () {
               _bodies.eq(_current).fadeIn(defaultOpts.fadeInTime);
               _bodies.removeClass("cur").eq(_current).addClass("cur");
           });
           _titles.removeClass("cur").eq(_current).addClass("cur");
           _titles_bg.removeClass("cur").eq(_current).addClass("cur");
       };
       var go = function () {
           stop();
           _intervalID = window.setInterval(function () { slide(); }, defaultOpts.interval);
       };
       var itemMouseOver = function (target, items) {
           stop();
           var i = $.inArray(target, items);
           slide({ current: i });
       };
       _titles.hover(function () { if ($(this).attr('class') != 'cur') { itemMouseOver(this, _titles); } else { stop(); } }, go);
       _bodies.hover(stop, go);
       go();
   }

});

/*member.js*****************************************************************************************/ member_jjj_iii_ooo1= 0; member_jjj_iii_ooo2= 0; member_jjj_iii_ooo3= 0; member_jjj_iii_ooo4= 0; member_jjj_iii_ooo5= 0; member_jjj_iii_ooo6= 0; member_jjj_iii_ooo7= 0; member_jjj_iii_ooo8= 0; member_jjj_iii_ooo9= 0; member_jjj_iii_ooo10= 0; member_jjj_iii_ooo11= 0; function over1(){ member_jjj_iii_ooo1= 0;

   $("#T1").fadeTo("slow",0.5);
   $("#TT1").animate({
      top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w1").show().animate({top:'430px',left:'920px',zIndex:'5',},30).animate({

           top:'430px',

left:'820px', zIndex:'6',

       },200,function(){

$("#ww1").show().animate({ top:'546px', left:'814px', zIndex:'5', },30).animate({ top:'506px', left:'814px', zIndex:'6', },200,function(){ $("#www1").show().animate({ top:'635px', left:'828px', zIndex:'5', },30).animate({ top:'575px', left:'828px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo1==1) { out1(); } }) } )}) });

} function out1(){ member_jjj_iii_ooo1=1; $("#T1").fadeTo("slow",1); $("#TT1").animate({ top:'270px', height:'150px', left:'620px', }) document.getElementById("w1").style.display="none"; document.getElementById("ww1").style.display="none"; document.getElementById("www1").style.display="none";

} function over2(){ member_jjj_iii_ooo2= 0; $("#T2").fadeTo("slow",0.5);

   $("#TT2").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w2").show().animate({ top:'430px', left:'920px', zIndex:'5', },30).animate({

           top:'430px',

left:'820px', zIndex:'6',

       },200,function(){

$("#ww2").show().animate({ top:'546px', left:'914px', zIndex:'5', },30).animate({ top:'506px', left:'814px', zIndex:'6', },200,function(){ $("#www2").show().animate({ top:'635px', left:'928px', zIndex:'5', },30).animate({ top:'575px', left:'828px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo2==1) { out2(); } }) } )}) } )

} function out2(){ member_jjj_iii_ooo2=1; $("#T2").fadeTo("slow",1);

   $("#TT2").animate({
    top:'320px',
    height:'150px',
    left:'480px',

}) document.getElementById("w2").style.display="none"; document.getElementById("ww2").style.display="none"; document.getElementById("www2").style.display="none";

} function over3(){ member_jjj_iii_ooo3= 0; $("#T3").fadeTo("slow",0.5);

   $("#TT3").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w3").show().animate({ top:'425px', left:'41px', zIndex:'5', },30).animate({

           top:'425px',

left:'61px', zIndex:'6',

       },200,function(){

$("#ww3").show().animate({ top:'542px', left:'34px', zIndex:'5', },30).animate({ top:'502px', left:'54px', zIndex:'6', },200,function(){ $("#www3").show().animate({ top:'631px', left:'48px', zIndex:'5', },30).animate({ top:'571px', left:'68px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo3==1) { out3(); } }) } )}) } );

} function out3(){ member_jjj_iii_ooo3=1; $("#T3").fadeTo("slow",1); $("#TT3").animate({

    top:'320px',
    height:'150px',
    left:'760px',

}) document.getElementById("w3").style.display="none"; document.getElementById("ww3").style.display="none"; document.getElementById("www3").style.display="none";

} function over4(){member_jjj_iii_ooo4= 0; $("#T4").fadeTo("slow",0.5);

   $("#TT4").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w4").show().animate({ top:'430px', left:'920px', zIndex:'5', },30).animate({

           top:'430px',

left:'820px', zIndex:'6',

       },200,function(){

$("#ww4").show().animate({ top:'546px', left:'914px', zIndex:'5', },30).animate({ top:'506px', left:'814px', zIndex:'6', },200,function(){ $("#www4").show().animate({ top:'635px', left:'928px', zIndex:'5', },30).animate({ top:'575px', left:'828px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo4==1) { out4(); } }) } )}) } );

} function out4(){ member_jjj_iii_ooo4=1; $("#T4").fadeTo("slow",1);

   $("#TT4").animate({
    top:'430px',
    height:'150px',
    left:'380px',

}) document.getElementById("w4").style.display="none"; document.getElementById("ww4").style.display="none"; document.getElementById("www4").style.display="none";

} function over5(){member_jjj_iii_ooo5= 0; $("#T5").fadeTo("slow",0.5);

   $("#TT5").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w5").show().animate({ top:'425px', left:'41px', zIndex:'5', },30).animate({

           top:'425px',

left:'61px', zIndex:'6',

       },200,function(){

$("#ww5").show().animate({ top:'542px', left:'34px', zIndex:'5', },30).animate({ top:'502px', left:'54px', zIndex:'6', },200,function(){ $("#www5").show().animate({ top:'631px', left:'48px', zIndex:'5', },30).animate({ top:'571px', left:'68px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo5==1) { out5(); } }) } )}) } );

} function out5(){ member_jjj_iii_ooo5=1; $("#T5").fadeTo("slow",1);

   $("#TT5").animate({
    top:'430px',
    height:'150px',
    left:'860px',

}) document.getElementById("w5").style.display="none"; document.getElementById("ww5").style.display="none"; document.getElementById("www5").style.display="none";

} function over6(){member_jjj_iii_ooo6= 0; $("#T6").fadeTo("slow",0.5);

   $("#TT6").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w6").show().animate({ top:'430px', left:'920px', zIndex:'5', },30).animate({

           top:'430px',

left:'820px', zIndex:'6',

       },200,function(){

$("#ww6").show().animate({ top:'546px', left:'914px', zIndex:'5', },30).animate({ top:'506px', left:'814px', zIndex:'6', },200,function(){ $("#www6").show().animate({ top:'635px', left:'928px', zIndex:'5', },30).animate({ top:'575px', left:'828px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo6==1) { out6(); } }) } )}) } );

} function out6(){ member_jjj_iii_ooo6=1; $("#T6").fadeTo("slow",1);

   $("#TT6").animate({
    top:'580px',
    height:'150px',
    left:'365px',

}) document.getElementById("w6").style.display="none"; document.getElementById("ww6").style.display="none"; document.getElementById("www6").style.display="none";

} function over7(){member_jjj_iii_ooo7= 0; $("#T7").fadeTo("slow",0.5);

   $("#TT7").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w7").show().animate({ top:'425px', left:'41px', zIndex:'5', },30).animate({

           top:'425px',

left:'61px', zIndex:'6',

       },200,function(){

$("#ww7").show().animate({ top:'542px', left:'34px', zIndex:'5', },30).animate({ top:'502px', left:'54px', zIndex:'6', },200,function(){ $("#www7").show().animate({ top:'631px', left:'48px', zIndex:'5', },30).animate({ top:'571px', left:'68px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo7==1) { out7(); } }) } )}) } );

} function out7(){ member_jjj_iii_ooo7=1; $("#T7").fadeTo("slow",1);

   $("#TT7").animate({
    top:'580px',
    height:'150px',
    left:'875px',

}) document.getElementById("w7").style.display="none"; document.getElementById("ww7").style.display="none"; document.getElementById("www7").style.display="none";


} function over8(){member_jjj_iii_ooo8= 0; $("#T8").fadeTo("slow",0.5);

   $("#TT8").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w8").show().animate({ top:'430px', left:'920px', zIndex:'5', },30).animate({

           top:'430px',

left:'820px', zIndex:'6',

       },200,function(){

$("#ww8").show().animate({ top:'546px', left:'914px', zIndex:'5', },30).animate({ top:'506px', left:'814px', zIndex:'6', },200,function(){ $("#www8").show().animate({ top:'635px', left:'928px', zIndex:'5', },30).animate({ top:'575px', left:'828px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo8==1) { out8(); } }) } )}) } );

} function out8(){ member_jjj_iii_ooo8=1; $("#T8").fadeTo("slow",1);

   $("#TT8").animate({
    top:'720px',
    height:'150px',
    left:'420px',

}) document.getElementById("w8").style.display="none"; document.getElementById("ww8").style.display="none"; document.getElementById("www8").style.display="none";

} function over9(){member_jjj_iii_ooo9= 0; $("#T9").fadeTo("slow",0.5);

   $("#TT9").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w9").show().animate({ top:'425px', left:'41px', zIndex:'5', },30).animate({

           top:'425px',

left:'61px', zIndex:'6',

       },200,function(){

$("#ww9").show().animate({ top:'542px', left:'34px', zIndex:'5', },30).animate({ top:'502px', left:'54px', zIndex:'6', },200,function(){ $("#www9").show().animate({ top:'631px', left:'48px', zIndex:'5', },30).animate({ top:'571px', left:'68px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo9==1) { out9(); } }) } )}) } );

} function out9(){ member_jjj_iii_ooo9=1; $("#T9").fadeTo("slow",1);

   $("#TT9").animate({
    top:'720px',
    height:'150px',
    left:'820px',

}) document.getElementById("w9").style.display="none"; document.getElementById("ww9").style.display="none"; document.getElementById("www9").style.display="none";

} function over10(){member_jjj_iii_ooo10= 0; $("#T10").fadeTo("slow",0.5);

   $("#TT10").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w10").show().animate({ top:'430px', left:'920px', zIndex:'5', },30).animate({

           top:'430px',

left:'820px', zIndex:'6',

       },200,function(){

$("#ww10").show().animate({ top:'546px', left:'914px', zIndex:'5', },30).animate({ top:'506px', left:'814px', zIndex:'6', },200,function(){ $("#www10").show().animate({ top:'635px', left:'928px', zIndex:'5', },30).animate({ top:'575px', left:'828px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo10==1) { out10(); } }) } )}) } );

} function out10(){ member_jjj_iii_ooo10=1; $("#T10").fadeTo("slow",1);

   $("#TT10").animate({
    top:'810px',
    height:'150px',
    left:'545px',

}) document.getElementById("w10").style.display="none"; document.getElementById("ww10").style.display="none"; document.getElementById("www10").style.display="none";

} function over11(){member_jjj_iii_ooo11= 0; $("#T11").fadeTo("slow",0.5);

   $("#TT11").animate({
   top:'475px',

height:'295px', left:'555px', },"fast", function (){ $("#w11").show().animate({ top:'425px', left:'41px', zIndex:'5', },30).animate({

           top:'425px',

left:'61px', zIndex:'6',

       },200,function(){

$("#ww11").show().animate({ top:'542px', left:'34px', zIndex:'5', },30).animate({ top:'502px', left:'54px', zIndex:'6', },200,function(){ $("#www11").show().animate({ top:'631px', left:'48px', zIndex:'5', },30).animate({ top:'571px', left:'68px', zIndex:'6', },500,function(){ if(member_jjj_iii_ooo11==1) { out11(); } }) } )}) } ); } function out11(){ member_jjj_iii_ooo11=1; $("#T11").fadeTo("slow",1);

   $("#TT11").animate({
    top:'810px',
    height:'150px',
    left:'695px',

}) document.getElementById("w11").style.display="none"; document.getElementById("ww11").style.display="none"; document.getElementById("www11").style.display="none";

}

/*notebook.js*****************************************************************************************/ function notebook_s2m2c1(){/*XMind鼠标移动过效果*/ /*3个工具图标效果*/ document.getElementById("notebook_s2m2p1").style.background="#ffd200"; document.getElementById("notebook_s2m2a1").style.color="#ffd200"; document.getElementById("notebook_s2m2a2").style.color="#ffd200"; } function notebook_s2m2c2(){/*XMind鼠标移开后效果*/ document.getElementById("notebook_s2m2p1").style.background="#ededeb"; document.getElementById("notebook_s2m2a1").style.color="#6ba4ad"; document.getElementById("notebook_s2m2a2").style.color="#707070"; } function notebook_s2m2c3(){/*PowerPoint*/ document.getElementById("notebook_s2m2p2").style.background="#ffd200"; document.getElementById("notebook_s2m2a3").style.color="#ffd200"; document.getElementById("notebook_s2m2a4").style.color="#ffd200"; } function notebook_s2m2c4(){ document.getElementById("notebook_s2m2p2").style.background="#ededeb"; document.getElementById("notebook_s2m2a3").style.color="#6ba4ad"; document.getElementById("notebook_s2m2a4").style.color="#707070"; } function notebook_s2m2c5(){/*Robert's Rules of Order*/ document.getElementById("notebook_s2m2p3").style.background="#ffd200"; document.getElementById("notebook_s2m2a5").style.color="#ffd200"; document.getElementById("notebook_s2m2a6").style.color="#ffd200"; } function notebook_s2m2c6(){ document.getElementById("notebook_s2m2p3").style.background="#ededeb"; document.getElementById("notebook_s2m2a5").style.color="#6ba4ad"; document.getElementById("notebook_s2m2a6").style.color="#707070"; } function march(){/*三月栏 点击后,滑动下拉三月日记*/ /*月份栏点击效果*/ $("#notebook_s3m2n2").slideToggle(); document.getElementById("notebook_s3m2n4").style.display="none"; document.getElementById("notebook_s3m2n6").style.display="none"; document.getElementById("notebook_s3m2n8").style.display="none"; document.getElementById("notebook_s3m2n10").style.display="none"; document.getElementById("notebook_s3m2n12").style.display="none"; document.getElementById("notebook_s3m2n14").style.display="none"; document.getElementById("notebook_s3m2n16").style.display="none"; } function april(){ $("#notebook_s3m2n4").slideToggle(); document.getElementById("notebook_s3m2n2").style.display="none"; document.getElementById("notebook_s3m2n6").style.display="none"; document.getElementById("notebook_s3m2n8").style.display="none"; document.getElementById("notebook_s3m2n10").style.display="none"; document.getElementById("notebook_s3m2n12").style.display="none"; document.getElementById("notebook_s3m2n14").style.display="none"; document.getElementById("notebook_s3m2n16").style.display="none"; } function may(){ $("#notebook_s3m2n6").slideToggle(); document.getElementById("notebook_s3m2n2").style.display="none"; document.getElementById("notebook_s3m2n4").style.display="none"; document.getElementById("notebook_s3m2n8").style.display="none"; document.getElementById("notebook_s3m2n10").style.display="none"; document.getElementById("notebook_s3m2n12").style.display="none"; document.getElementById("notebook_s3m2n14").style.display="none"; document.getElementById("notebook_s3m2n16").style.display="none"; } function june(){ $("#notebook_s3m2n8").slideToggle(); document.getElementById("notebook_s3m2n2").style.display="none"; document.getElementById("notebook_s3m2n4").style.display="none"; document.getElementById("notebook_s3m2n6").style.display="none"; document.getElementById("notebook_s3m2n10").style.display="none"; document.getElementById("notebook_s3m2n12").style.display="none"; document.getElementById("notebook_s3m2n14").style.display="none"; document.getElementById("notebook_s3m2n16").style.display="none"; } function july(){ $("#notebook_s3m2n10").slideToggle(); document.getElementById("notebook_s3m2n2").style.display="none"; document.getElementById("notebook_s3m2n4").style.display="none"; document.getElementById("notebook_s3m2n6").style.display="none"; document.getElementById("notebook_s3m2n8").style.display="none"; document.getElementById("notebook_s3m2n12").style.display="none"; document.getElementById("notebook_s3m2n14").style.display="none"; document.getElementById("notebook_s3m2n16").style.display="none"; } function august(){ $("#notebook_s3m2n12").slideToggle(); document.getElementById("notebook_s3m2n2").style.display="none"; document.getElementById("notebook_s3m2n4").style.display="none"; document.getElementById("notebook_s3m2n6").style.display="none"; document.getElementById("notebook_s3m2n8").style.display="none"; document.getElementById("notebook_s3m2n10").style.display="none"; document.getElementById("notebook_s3m2n14").style.display="none"; document.getElementById("notebook_s3m2n16").style.display="none"; } function september(){ $("#notebook_s3m2n14").slideToggle(); document.getElementById("notebook_s3m2n2").style.display="none"; document.getElementById("notebook_s3m2n4").style.display="none"; document.getElementById("notebook_s3m2n6").style.display="none"; document.getElementById("notebook_s3m2n8").style.display="none"; document.getElementById("notebook_s3m2n10").style.display="none"; document.getElementById("notebook_s3m2n12").style.display="none"; document.getElementById("notebook_s3m2n16").style.display="none"; } function october(){ $("#notebook_s3m2n16").slideToggle(); document.getElementById("notebook_s3m2n2").style.display="none"; document.getElementById("notebook_s3m2n4").style.display="none"; document.getElementById("notebook_s3m2n6").style.display="none"; document.getElementById("notebook_s3m2n8").style.display="none"; document.getElementById("notebook_s3m2n10").style.display="none"; document.getElementById("notebook_s3m2n12").style.display="none"; document.getElementById("notebook_s3m2n14").style.display="none"; } function notebook_s3m2c2(){/*4.7日 点击*/ /*日期圆点击,滑动,移开效果*/ document.getElementById("notebook_s3p2").style.background="#ffa801"; document.getElementById("notebook_s3p3").style.background="#cdea8b"; document.getElementById("notebook_s3p4").style.background="#cdea8b"; document.getElementById("notebook_s3p5").style.background="#cdea8b"; document.getElementById("note2").style.display="inline"; document.getElementById("note3").style.display="none"; document.getElementById("note4").style.display="none"; document.getElementById("note5").style.display="none"; } function notebook_s3m2c21(){/*4.7日 鼠标移过*/ var element=$("#notebook_s3p2").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p2").style.background="#ffd200"; } } function notebook_s3m2c22(){/*4.7日 鼠标移开*/ var element=$("#notebook_s3p2").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p2").style.background="#cdea8b"; } } function notebook_s3m2c3(){/*4.14*/ document.getElementById("notebook_s3p3").style.background="#ffa801"; document.getElementById("notebook_s3p2").style.background="#cdea8b"; document.getElementById("notebook_s3p4").style.background="#cdea8b"; document.getElementById("notebook_s3p5").style.background="#cdea8b"; document.getElementById("note3").style.display="inline"; document.getElementById("note2").style.display="none"; document.getElementById("note4").style.display="none"; document.getElementById("note5").style.display="none"; } function notebook_s3m2c31(){ var element=$("#notebook_s3p3").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p3").style.background="#ffd200"; } } function notebook_s3m2c32(){ var element=$("#notebook_s3p3").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p3").style.background="#cdea8b"; } } function notebook_s3m2c4(){/*4.21*/ document.getElementById("notebook_s3p4").style.background="#ffa801"; document.getElementById("notebook_s3p2").style.background="#cdea8b"; document.getElementById("notebook_s3p3").style.background="#cdea8b"; document.getElementById("notebook_s3p5").style.background="#cdea8b"; document.getElementById("note4").style.display="inline"; document.getElementById("note2").style.display="none"; document.getElementById("note3").style.display="none"; document.getElementById("note5").style.display="none"; } function notebook_s3m2c41(){ var element=$("#notebook_s3p4").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p4").style.background="#ffd200"; } } function notebook_s3m2c42(){ var element=$("#notebook_s3p4").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p4").style.background="#cdea8b"; } } function notebook_s3m2c5(){/*4.28*/ document.getElementById("notebook_s3p5").style.background="#ffa801"; document.getElementById("notebook_s3p2").style.background="#cdea8b"; document.getElementById("notebook_s3p3").style.background="#cdea8b"; document.getElementById("notebook_s3p4").style.background="#cdea8b"; document.getElementById("note5").style.display="inline"; document.getElementById("note2").style.display="none"; document.getElementById("note3").style.display="none"; document.getElementById("note4").style.display="none"; } function notebook_s3m2c51(){ var element=$("#notebook_s3p5").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p5").style.background="#ffd200"; } } function notebook_s3m2c52(){ var element=$("#notebook_s3p5").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p5").style.background="#cdea8b"; } } function notebook_s3m2c6(){/*5.5*/ document.getElementById("notebook_s3p6").style.background="#ffa801"; document.getElementById("notebook_s3p7").style.background="#cdea8b"; document.getElementById("notebook_s3p8").style.background="#cdea8b"; document.getElementById("notebook_s3p9").style.background="#cdea8b"; document.getElementById("note6").style.display="inline"; document.getElementById("note7").style.display="none"; document.getElementById("note8").style.display="none"; document.getElementById("note9").style.display="none"; } function notebook_s3m2c61(){ var element=$("#notebook_s3p6").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p6").style.background="#ffd200"; } } function notebook_s3m2c62(){ var element=$("#notebook_s3p6").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p6").style.background="#cdea8b"; } } function notebook_s3m2c7(){/*5.12*/ document.getElementById("notebook_s3p7").style.background="#ffa801"; document.getElementById("notebook_s3p6").style.background="#cdea8b"; document.getElementById("notebook_s3p8").style.background="#cdea8b"; document.getElementById("notebook_s3p9").style.background="#cdea8b"; document.getElementById("note7").style.display="inline"; document.getElementById("note6").style.display="none"; document.getElementById("note8").style.display="none"; document.getElementById("note9").style.display="none"; } function notebook_s3m2c71(){ var element=$("#notebook_s3p7").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p7").style.background="#ffd200"; } } function notebook_s3m2c72(){ var element=$("#notebook_s3p7").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p7").style.background="#cdea8b"; } } function notebook_s3m2c8(){/*5.19*/ document.getElementById("notebook_s3p8").style.background="#ffa801"; document.getElementById("notebook_s3p6").style.background="#cdea8b"; document.getElementById("notebook_s3p7").style.background="#cdea8b"; document.getElementById("notebook_s3p9").style.background="#cdea8b"; document.getElementById("note8").style.display="inline"; document.getElementById("note6").style.display="none"; document.getElementById("note7").style.display="none"; document.getElementById("note9").style.display="none"; } function notebook_s3m2c81(){ var element=$("#notebook_s3p8").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p8").style.background="#ffd200"; } } function notebook_s3m2c82(){ var element=$("#notebook_s3p8").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p8").style.background="#cdea8b"; } } function notebook_s3m2c9(){/*5.26*/ document.getElementById("notebook_s3p9").style.background="#ffa801"; document.getElementById("notebook_s3p6").style.background="#cdea8b"; document.getElementById("notebook_s3p7").style.background="#cdea8b"; document.getElementById("notebook_s3p8").style.background="#cdea8b"; document.getElementById("note9").style.display="inline"; document.getElementById("note6").style.display="none"; document.getElementById("note7").style.display="none"; document.getElementById("note8").style.display="none"; } function notebook_s3m2c91(){ var element=$("#notebook_s3p9").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p9").style.background="#ffd200"; } } function notebook_s3m2c92(){ var element=$("#notebook_s3p9").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p9").style.background="#cdea8b"; } } function notebook_s3m2c10(){/*6.2*/ document.getElementById("notebook_s3p10").style.background="#ffa801"; document.getElementById("notebook_s3p11").style.background="#cdea8b"; document.getElementById("notebook_s3p12").style.background="#cdea8b"; document.getElementById("notebook_s3p13").style.background="#cdea8b"; document.getElementById("notebook_s3p14").style.background="#cdea8b"; document.getElementById("note10").style.display="inline"; document.getElementById("note11").style.display="none"; document.getElementById("note12").style.display="none"; document.getElementById("note13").style.display="none"; document.getElementById("note14").style.display="none"; } function notebook_s3m2c101(){ var element=$("#notebook_s3p10").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p10").style.background="#ffd200"; } } function notebook_s3m2c102(){ var element=$("#notebook_s3p10").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p10").style.background="#cdea8b"; } } function notebook_s3m2c11(){/*6.9*/ document.getElementById("notebook_s3p11").style.background="#ffa801"; document.getElementById("notebook_s3p10").style.background="#cdea8b"; document.getElementById("notebook_s3p12").style.background="#cdea8b"; document.getElementById("notebook_s3p13").style.background="#cdea8b"; document.getElementById("notebook_s3p14").style.background="#cdea8b"; document.getElementById("note11").style.display="inline"; document.getElementById("note10").style.display="none"; document.getElementById("note12").style.display="none"; document.getElementById("note13").style.display="none"; document.getElementById("note14").style.display="none"; } function notebook_s3m2c111(){ var element=$("#notebook_s3p11").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p11").style.background="#ffd200"; } } function notebook_s3m2c112(){ var element=$("#notebook_s3p11").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p11").style.background="#cdea8b"; } } function notebook_s3m2c12(){/*6.16*/ document.getElementById("notebook_s3p12").style.background="#ffa801"; document.getElementById("notebook_s3p10").style.background="#cdea8b"; document.getElementById("notebook_s3p11").style.background="#cdea8b"; document.getElementById("notebook_s3p13").style.background="#cdea8b"; document.getElementById("notebook_s3p14").style.background="#cdea8b"; document.getElementById("note12").style.display="inline"; document.getElementById("note10").style.display="none"; document.getElementById("note11").style.display="none"; document.getElementById("note13").style.display="none"; document.getElementById("note14").style.display="none"; } function notebook_s3m2c121(){ var element=$("#notebook_s3p12").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p12").style.background="#ffd200"; } } function notebook_s3m2c122(){ var element=$("#notebook_s3p12").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p12").style.background="#cdea8b"; } } function notebook_s3m2c13(){/*6.23*/ document.getElementById("notebook_s3p13").style.background="#ffa801"; document.getElementById("notebook_s3p10").style.background="#cdea8b"; document.getElementById("notebook_s3p11").style.background="#cdea8b"; document.getElementById("notebook_s3p12").style.background="#cdea8b"; document.getElementById("notebook_s3p14").style.background="#cdea8b"; document.getElementById("note13").style.display="inline"; document.getElementById("note10").style.display="none"; document.getElementById("note11").style.display="none"; document.getElementById("note12").style.display="none"; document.getElementById("note14").style.display="none"; } function notebook_s3m2c131(){ var element=$("#notebook_s3p13").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p13").style.background="#ffd200"; } } function notebook_s3m2c132(){ var element=$("#notebook_s3p13").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p13").style.background="#cdea8b"; } } function notebook_s3m2c14(){/*6.30*/ document.getElementById("notebook_s3p14").style.background="#ffa801"; document.getElementById("notebook_s3p10").style.background="#cdea8b"; document.getElementById("notebook_s3p11").style.background="#cdea8b"; document.getElementById("notebook_s3p12").style.background="#cdea8b"; document.getElementById("notebook_s3p13").style.background="#cdea8b"; document.getElementById("note14").style.display="inline"; document.getElementById("note10").style.display="none"; document.getElementById("note11").style.display="none"; document.getElementById("note12").style.display="none"; document.getElementById("note13").style.display="none"; } function notebook_s3m2c141(){ var element=$("#notebook_s3p14").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p14").style.background="#ffd200"; } } function notebook_s3m2c142(){ var element=$("#notebook_s3p14").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p14").style.background="#cdea8b"; } } function notebook_s3m2c15(){/*7.7*/ document.getElementById("notebook_s3p15").style.background="#ffa801"; document.getElementById("notebook_s3p16").style.background="#cdea8b"; document.getElementById("notebook_s3p17").style.background="#cdea8b"; document.getElementById("notebook_s3p18").style.background="#cdea8b"; document.getElementById("note15").style.display="inline"; document.getElementById("note16").style.display="none"; document.getElementById("note17").style.display="none"; document.getElementById("note18").style.display="none"; } function notebook_s3m2c151(){ var element=$("#notebook_s3p15").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p15").style.background="#ffd200"; } } function notebook_s3m2c152(){ var element=$("#notebook_s3p15").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p15").style.background="#cdea8b"; } } function notebook_s3m2c16(){/*7.14*/ document.getElementById("notebook_s3p16").style.background="#ffa801"; document.getElementById("notebook_s3p15").style.background="#cdea8b"; document.getElementById("notebook_s3p17").style.background="#cdea8b"; document.getElementById("notebook_s3p18").style.background="#cdea8b"; document.getElementById("note16").style.display="inline"; document.getElementById("note15").style.display="none"; document.getElementById("note17").style.display="none"; document.getElementById("note18").style.display="none"; } function notebook_s3m2c161(){ var element=$("#notebook_s3p16").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p16").style.background="#ffd200"; } } function notebook_s3m2c162(){ var element=$("#notebook_s3p16").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p16").style.background="#cdea8b"; } } function notebook_s3m2c17(){/*7.21*/ document.getElementById("notebook_s3p17").style.background="#ffa801"; document.getElementById("notebook_s3p15").style.background="#cdea8b"; document.getElementById("notebook_s3p16").style.background="#cdea8b"; document.getElementById("notebook_s3p18").style.background="#cdea8b"; document.getElementById("note17").style.display="inline"; document.getElementById("note15").style.display="none"; document.getElementById("note16").style.display="none"; document.getElementById("note18").style.display="none"; } function notebook_s3m2c171(){ var element=$("#notebook_s3p17").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p17").style.background="#ffd200"; } } function notebook_s3m2c172(){ var element=$("#notebook_s3p17").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p17").style.background="#cdea8b"; } } function notebook_s3m2c18(){/*7.28*/ document.getElementById("notebook_s3p18").style.background="#ffa801"; document.getElementById("notebook_s3p15").style.background="#cdea8b"; document.getElementById("notebook_s3p16").style.background="#cdea8b"; document.getElementById("notebook_s3p17").style.background="#cdea8b"; document.getElementById("note18").style.display="inline"; document.getElementById("note15").style.display="none"; document.getElementById("note16").style.display="none"; document.getElementById("note17").style.display="none"; } function notebook_s3m2c181(){ var element=$("#notebook_s3p18").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p18").style.background="#ffd200"; } } function notebook_s3m2c182(){ var element=$("#notebook_s3p18").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p18").style.background="#cdea8b"; } } function notebook_s3m2c19(){/*8.1*/ document.getElementById("notebook_s3p19").style.background="#ffa801"; document.getElementById("notebook_s3p20").style.background="#cdea8b"; document.getElementById("notebook_s3p21").style.background="#cdea8b"; document.getElementById("notebook_s3p22").style.background="#cdea8b"; document.getElementById("notebook_s3p23").style.background="#cdea8b"; document.getElementById("note19").style.display="inline"; document.getElementById("note20").style.display="none"; document.getElementById("note21").style.display="none"; document.getElementById("note22").style.display="none"; document.getElementById("note23").style.display="none"; } function notebook_s3m2c191(){ var element=$("#notebook_s3p19").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p19").style.background="#ffd200"; } } function notebook_s3m2c192(){ var element=$("#notebook_s3p19").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p19").style.background="#cdea8b"; } } function notebook_s3m2c20(){/*8.8*/ document.getElementById("notebook_s3p19").style.background="#cdea8b"; document.getElementById("notebook_s3p20").style.background="#ffa801"; document.getElementById("notebook_s3p21").style.background="#cdea8b"; document.getElementById("notebook_s3p22").style.background="#cdea8b"; document.getElementById("notebook_s3p23").style.background="#cdea8b"; document.getElementById("note19").style.display="none"; document.getElementById("note20").style.display="inline"; document.getElementById("note21").style.display="none"; document.getElementById("note22").style.display="none"; document.getElementById("note23").style.display="none"; } function notebook_s3m2c201(){ var element=$("#notebook_s3p20").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p20").style.background="#ffd200"; } } function notebook_s3m2c202(){ var element=$("#notebook_s3p20").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p20").style.background="#cdea8b"; } } function notebook_s3m2c21(){/*8.15*/ document.getElementById("notebook_s3p19").style.background="#cdea8b"; document.getElementById("notebook_s3p20").style.background="#cdea8b"; document.getElementById("notebook_s3p21").style.background="#ffa801"; document.getElementById("notebook_s3p22").style.background="#cdea8b"; document.getElementById("notebook_s3p23").style.background="#cdea8b"; document.getElementById("note19").style.display="none"; document.getElementById("note20").style.display="none"; document.getElementById("note21").style.display="inline"; document.getElementById("note22").style.display="none"; document.getElementById("note23").style.display="none"; } function notebook_s3m2c211(){ var element=$("#notebook_s3p21").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p21").style.background="#ffd200"; } } function notebook_s3m2c212(){ var element=$("#notebook_s3p21").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p21").style.background="#cdea8b"; } } function notebook_s3m2c22(){/*8.22*/ document.getElementById("notebook_s3p19").style.background="#cdea8b"; document.getElementById("notebook_s3p20").style.background="#cdea8b"; document.getElementById("notebook_s3p21").style.background="#cdea8b"; document.getElementById("notebook_s3p22").style.background="#ffa801"; document.getElementById("notebook_s3p23").style.background="#cdea8b"; document.getElementById("note19").style.display="none"; document.getElementById("note20").style.display="none"; document.getElementById("note21").style.display="none"; document.getElementById("note22").style.display="inline"; document.getElementById("note23").style.display="none"; } function notebook_s3m2c221(){ var element=$("#notebook_s3p22").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p22").style.background="#ffd200"; } } function notebook_s3m2c222(){ var element=$("#notebook_s3p22").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p22").style.background="#cdea8b"; } } function notebook_s3m2c23(){/*8.29*/ document.getElementById("notebook_s3p19").style.background="#cdea8b"; document.getElementById("notebook_s3p20").style.background="#cdea8b"; document.getElementById("notebook_s3p21").style.background="#cdea8b"; document.getElementById("notebook_s3p22").style.background="#cdea8b"; document.getElementById("notebook_s3p23").style.background="#ffa801"; document.getElementById("note19").style.display="none"; document.getElementById("note20").style.display="none"; document.getElementById("note21").style.display="none"; document.getElementById("note22").style.display="none"; document.getElementById("note23").style.display="inline"; } function notebook_s3m2c231(){ var element=$("#notebook_s3p23").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p23").style.background="#ffd200"; } } function notebook_s3m2c232(){ var element=$("#notebook_s3p23").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p23").style.background="#cdea8b"; } } /*title.js*****************************************************************************************/ var timeout = 500; var closetimer = 0; var ddmenuitem = 0; function jsddm_open(){ jsddm_canceltimer(); jsddm_close(); ddmenuitem = $(this).find('ul').eq(0).css('visibility', 'visible');} function jsddm_close(){ if(ddmenuitem) ddmenuitem.css('visibility', 'hidden'); } function jsddm_timer(){ closetimer = window.setTimeout(jsddm_close, timeout); } function jsddm_canceltimer(){ if(closetimer){ window.clearTimeout(closetimer); closetimer = null; } } $(document).ready(function(){ $('#jsddm > li').bind('mouseover', jsddm_open); $('#jsddm > li').bind('mouseout', jsddm_timer); }) document.onclick = jsddm_close;

/*navi.js*****************************************************************************************/ function movetotop(){ h = window.innerHeight-180; t = $("#xmu_body").scrollTop(); if(t > h){ $('#team_navi5').show(); $('#notebook_navi5').show(); $('#safety_navi3').show(); $('#project_navi6').show(); $('#hp_navi5').show(); }else{ $('#team_navi5').hide(); $('#notebook_navi5').hide(); $('#safety_navi3').hide(); $('#project_navi6').hide(); $('#hp_navi5').hide(); } } $(document).ready(function(e) { movetotop(); $('#team_navi5').click(function(){ $("#xmu_body").scrollTop(0); }) movetotop(); $('#notebook_navi5').click(function(){ $("#xmu_body").scrollTop(0); }) movetotop(); $('#hp_navi5').click(function(){ $("#xmu_body").scrollTop(0); }) movetotop(); $('#project_navi6').click(function(){ $("#xmu_body").scrollTop(0); }) movetotop(); $('#safety_navi3').click(function(){ $("#xmu_body").scrollTop(0); }) }); function navi1(){ document.getElementById("team_navi1").style.background="#ffd200"; document.getElementById("notebook_navi1").style.background="#ffd200"; document.getElementById("hp_navi1").style.background="#ffd200"; document.getElementById("project_navi1").style.background="#ffd200"; document.getElementById("safety_navi1").style.background="#ffd200"; } function navi11(){ document.getElementById("team_navi1").style.background="#b3d465"; document.getElementById("notebook_navi1").style.background="#b3d465"; document.getElementById("hp_navi1").style.background="#b3d465"; document.getElementById("project_navi1").style.background="#b3d465"; document.getElementById("safety_navi1").style.background="#b3d465"; } function navi2(){ document.getElementById("team_navi2").style.background="#ffd200"; document.getElementById("notebook_navi2").style.background="#ffd200"; document.getElementById("hp_navi2").style.background="#ffd200"; document.getElementById("project_navi2").style.background="#ffd200"; document.getElementById("safety_navi2").style.background="#ffd200"; } function navi21(){ document.getElementById("team_navi2").style.background="#b3d465"; document.getElementById("notebook_navi2").style.background="#b3d465"; document.getElementById("hp_navi2").style.background="#b3d465"; document.getElementById("project_navi2").style.background="#b3d465"; document.getElementById("safety_navi2").style.background="#b3d465"; } function navi3(){ document.getElementById("team_navi3").style.background="#ffd200"; document.getElementById("notebook_navi3").style.background="#ffd200"; document.getElementById("hp_navi3").style.background="#ffd200"; document.getElementById("project_navi3").style.background="#ffd200"; document.getElementById("safety_navi3").style.background="#ffd200"; } function navi31(){ document.getElementById("team_navi3").style.background="#b3d465"; document.getElementById("notebook_navi3").style.background="#b3d465"; document.getElementById("hp_navi3").style.background="#b3d465"; document.getElementById("project_navi3").style.background="#b3d465"; document.getElementById("safety_navi3").style.background="#b3d465"; } function navi4(){ document.getElementById("team_navi4").style.background="#ffd200"; document.getElementById("hp_navi4").style.background="#ffd200"; document.getElementById("project_navi4").style.background="#ffd200"; document.getElementById("notebook_navi4").style.background="#ffd200"; } function navi41(){ document.getElementById("team_navi4").style.background="#b3d465"; document.getElementById("hp_navi4").style.background="#b3d465"; document.getElementById("project_navi4").style.background="#b3d465"; document.getElementById("notebook_navi4").style.background="#b3d465"; } function navi5(){ document.getElementById("team_navi5").style.background="#ffd200"; document.getElementById("hp_navi5").style.background="#ffd200"; document.getElementById("project_navi5").style.background="#ffd200"; document.getElementById("notebook_navi5").style.background="#ffd200"; } function navi51(){ document.getElementById("team_navi5").style.background="#b3d465"; document.getElementById("hp_navi5").style.background="#b3d465"; document.getElementById("project_navi5").style.background="#b3d465"; document.getElementById("notebook_navi5").style.background="#b3d465"; } function navi6(){ document.getElementById("project_navi6").style.background="#ffd200"; } function navi61(){ document.getElementById("project_navi6").style.background="#b3d465"; }