Team:XMU Software/js
From 2013.igem.org
/*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*****************************************************************************************/ function over1(){
$("#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) } )}) }) 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(){ $("#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(){ $("#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) } )}) } ) 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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(){ $("#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) } )}) } ); 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(){ $("#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"; } }
/*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_navi4').show(); $('#notebook_navi4').show(); $('#safety_navi3').show(); $('#project_navi6').show(); $('#hp_navi5').show(); }else{ $('#team_navi4').hide(); $('#notebook_navi4').hide(); $('#safety_navi3').hide(); $('#project_navi6').hide(); $('#hp_navi5').hide(); } } $(document).ready(function(e) { movetotop(); $('#team_navi4').click(function(){ $("#xmu_body").scrollTop(0); }) movetotop(); $('#notebook_navi4').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("hp_navi5").style.background="#ffd200"; document.getElementById("project_navi5").style.background="#ffd200"; } function navi51(){ document.getElementById("hp_navi5").style.background="#b3d465"; document.getElementById("project_navi5").style.background="#b3d465"; } function navi6(){ document.getElementById("project_navi6").style.background="#ffd200"; } function navi61(){ document.getElementById("project_navi6").style.background="#b3d465"; }