Team:XMU Software/Notebook/js
From 2013.igem.org
YuezhenChen (Talk | contribs) (Created page with "/*notebook.js*****************************************************************************************/ function notebook_s2m2c1(){- →XMind鼠标移动过效果: /*3个工...") |
|||
Line 701: | Line 701: | ||
document.getElementById("notebook_s3p27").style.background="#cdea8b"; | document.getElementById("notebook_s3p27").style.background="#cdea8b"; | ||
} | } | ||
+ | } | ||
+ | |||
+ | function movetotop(){ | ||
+ | h = window.innerHeight-180; | ||
+ | t = $("#xmu_body").scrollTop(); | ||
+ | if(t > h){ | ||
+ | |||
+ | $('#notebook_navi5').show(); | ||
+ | |||
+ | }else{ | ||
+ | |||
+ | $('#notebook_navi5').hide(); | ||
+ | |||
+ | } | ||
+ | } | ||
+ | $(document).ready(function(e) { | ||
+ | |||
+ | movetotop(); | ||
+ | $('#notebook_navi5').click(function(){ | ||
+ | $("#xmu_body").scrollTop(0); | ||
+ | }) | ||
+ | |||
+ | }); | ||
+ | function navi1(){ | ||
+ | |||
+ | document.getElementById("notebook_navi1").style.background="#ffd200"; | ||
+ | |||
+ | } | ||
+ | function navi11(){ | ||
+ | |||
+ | document.getElementById("notebook_navi1").style.background="#b3d465"; | ||
+ | |||
+ | } | ||
+ | function navi2(){ | ||
+ | |||
+ | document.getElementById("notebook_navi2").style.background="#ffd200"; | ||
+ | |||
+ | } | ||
+ | function navi21(){ | ||
+ | |||
+ | document.getElementById("notebook_navi2").style.background="#b3d465"; | ||
+ | |||
+ | } | ||
+ | function navi3(){ | ||
+ | |||
+ | document.getElementById("notebook_navi3").style.background="#ffd200"; | ||
+ | |||
+ | } | ||
+ | function navi31(){ | ||
+ | |||
+ | document.getElementById("notebook_navi3").style.background="#b3d465"; | ||
+ | |||
+ | } | ||
+ | function navi4(){ | ||
+ | |||
+ | document.getElementById("notebook_navi4").style.background="#ffd200"; | ||
+ | } | ||
+ | function navi41(){ | ||
+ | |||
+ | document.getElementById("notebook_navi4").style.background="#b3d465"; | ||
+ | } | ||
+ | function navi5(){ | ||
+ | |||
+ | document.getElementById("notebook_navi5").style.background="#ffd200"; | ||
+ | } | ||
+ | function navi51(){ | ||
+ | |||
+ | document.getElementById("notebook_navi5").style.background="#b3d465"; | ||
} | } |
Latest revision as of 03:41, 27 October 2013
/*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"; } } function notebook_s3m2c24(){/*9.5*/ document.getElementById("notebook_s3p24").style.background="#ffa801"; document.getElementById("notebook_s3p25").style.background="#cdea8b"; document.getElementById("notebook_s3p26").style.background="#cdea8b"; document.getElementById("notebook_s3p27").style.background="#cdea8b"; document.getElementById("note24").style.display="inline"; document.getElementById("note25").style.display="none"; document.getElementById("note26").style.display="none"; document.getElementById("note27").style.display="none"; } function notebook_s3m2c241(){ var element=$("#notebook_s3p24").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p24").style.background="#ffd200"; } } function notebook_s3m2c242(){ var element=$("#notebook_s3p24").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p24").style.background="#cdea8b"; } } function notebook_s3m2c25(){/*9.12*/ document.getElementById("notebook_s3p24").style.background="#cdea8b"; document.getElementById("notebook_s3p25").style.background="#ffa801"; document.getElementById("notebook_s3p26").style.background="#cdea8b"; document.getElementById("notebook_s3p27").style.background="#cdea8b"; document.getElementById("note24").style.display="none"; document.getElementById("note25").style.display="inline"; document.getElementById("note26").style.display="none"; document.getElementById("note27").style.display="none"; } function notebook_s3m2c251(){ var element=$("#notebook_s3p25").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p25").style.background="#ffd200"; } } function notebook_s3m2c252(){ var element=$("#notebook_s3p25").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p25").style.background="#cdea8b"; } } function notebook_s3m2c26(){/*9.19*/ document.getElementById("notebook_s3p24").style.background="#cdea8b"; document.getElementById("notebook_s3p25").style.background="#cdea8b"; document.getElementById("notebook_s3p26").style.background="#ffa801"; document.getElementById("notebook_s3p27").style.background="#cdea8b"; document.getElementById("note24").style.display="none"; document.getElementById("note25").style.display="none"; document.getElementById("note26").style.display="inline"; document.getElementById("note27").style.display="none"; } function notebook_s3m2c261(){ var element=$("#notebook_s3p26").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p26").style.background="#ffd200"; } } function notebook_s3m2c262(){ var element=$("#notebook_s3p26").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p26").style.background="#cdea8b"; } } function notebook_s3m2c27(){/*9.26*/ document.getElementById("notebook_s3p24").style.background="#cdea8b"; document.getElementById("notebook_s3p25").style.background="#cdea8b"; document.getElementById("notebook_s3p26").style.background="#cdea8b"; document.getElementById("notebook_s3p27").style.background="#ffa801"; document.getElementById("note24").style.display="none"; document.getElementById("note25").style.display="none"; document.getElementById("note26").style.display="none"; document.getElementById("note27").style.display="inline"; } function notebook_s3m2c271(){ var element=$("#notebook_s3p27").css("background-color"); if(element==color2){ document.getElementById("notebook_s3p27").style.background="#ffd200"; } } function notebook_s3m2c272(){ var element=$("#notebook_s3p27").css("background-color"); if(element!=color1){ document.getElementById("notebook_s3p27").style.background="#cdea8b"; } }
function movetotop(){ h = window.innerHeight-180; t = $("#xmu_body").scrollTop(); if(t > h){
$('#notebook_navi5').show();
}else{
$('#notebook_navi5').hide();
} } $(document).ready(function(e) {
movetotop(); $('#notebook_navi5').click(function(){ $("#xmu_body").scrollTop(0); })
}); function navi1(){
document.getElementById("notebook_navi1").style.background="#ffd200";
} function navi11(){
document.getElementById("notebook_navi1").style.background="#b3d465";
} function navi2(){
document.getElementById("notebook_navi2").style.background="#ffd200";
} function navi21(){
document.getElementById("notebook_navi2").style.background="#b3d465";
} function navi3(){
document.getElementById("notebook_navi3").style.background="#ffd200";
} function navi31(){
document.getElementById("notebook_navi3").style.background="#b3d465";
} function navi4(){
document.getElementById("notebook_navi4").style.background="#ffd200"; } function navi41(){
document.getElementById("notebook_navi4").style.background="#b3d465"; } function navi5(){
document.getElementById("notebook_navi5").style.background="#ffd200"; } function navi51(){
document.getElementById("notebook_navi5").style.background="#b3d465"; }