Team:AHUT China/moocjs

// JavaScript Document $(document).ready(function(){ $("#mooc_nav").mouseenter(function(){ $("#mooc_nav").animate({ left:'457px', top:'32px', opacity:'1', }); $("#mooc_nav_line1").animate({ left:'595px', top:'23px', opacity:'1', },300); $("#mooc_nav_line2").animate({ left:'771px', top:'512px', opacity:'1', },300); $("#mooc_nav_note").animate({ left:'736px', top:'30px', opacity:'1', },300); }); $("#mooc_nav").mouseleave(function(){

 		$("#mooc_nav").animate({

left:'452px', top:'40px', opacity:'0', }); $("#mooc_nav_line1").animate({ left:'600px', top:'23px', opacity:'0', },1); $("#mooc_nav_line2").animate({ left:'776px', top:'512px', opacity:'0', },1); $("#mooc_nav_note").animate({ left:'736px', top:'10px', opacity:'0', },1); });


$("#mooc_logo").mouseenter(function(){ $("#mooc_logo").animate({ left:'166px', top:'44px', opacity:'1', }); }); $("#mooc_logo").mouseleave(function(){

 		$("#mooc_logo").animate({

left:'160px', top:'50px', opacity:'0', }); });

$("#mooc_introduction").mouseenter(function(){ $("#mooc_introduction").animate({ left:'215px', top:'172px', opacity:'1', }); $("#mooc_introduction_line").animate({ left:'38px', top:'213px', opacity:'1', },300); $("#mooc_introduction_note").animate({ left:'44px', top:'215px', opacity:'1', },300); }); $("#mooc_introduction").mouseleave(function(){

 		$("#mooc_introduction").animate({

left:'210px', top:'180px', opacity:'0', }); $("#mooc_introduction_line").animate({ left:'30px', top:'213px', opacity:'0', },1); $("#mooc_introduction_note").animate({ left:'44px', top:'210px', opacity:'0', },1); });

$("#mooc_concept").mouseenter(function(){ $("#mooc_concept").animate({ left:'285px', top:'360px', opacity:'1', }); $("#mooc_concept_line1").animate({ left:'37px', top:'423px', opacity:'1', },300); $("#mooc_concept_line2").animate({ left:'38px', top:'885px', opacity:'1', },300); $("#mooc_concept_note").animate({ left:'44px', top:'430px', opacity:'1', },300); }); $("#mooc_concept").mouseleave(function(){

 		$("#mooc_concept").animate({

left:'280px', top:'368px', opacity:'0', }); $("#mooc_concept_line1").animate({ left:'30px', top:'423px', opacity:'0', },1); $("#mooc_concept_line2").animate({ left:'31px', top:'885px', opacity:'0', },1); $("#mooc_concept_note").animate({ left:'44px', top:'420px', opacity:'0', },1); });

$("#mooc_resource").mouseenter(function(){ $("#mooc_resource").animate({ left:'451px', top:'800px', opacity:'1', }); $("#mooc_resource_line").animate({ left:'186px', top:'937px', opacity:'1', },300); $("#mooc_resource_note").animate({ left:'195px', top:'930px', opacity:'1', },300); }); $("#mooc_resource").mouseleave(function(){

 		$("#mooc_resource").animate({

left:'446px', top:'808px', opacity:'0', }); $("#mooc_resource_line").animate({ left:'180px', top:'937px', opacity:'0', },1); $("#mooc_resource_note").animate({ left:'195px', top:'920px', opacity:'0', },1); });

});