Difference between revisions of "Team:Pasteur Paris"

Line 23: Line 23:
 
       //====================================================
 
       //====================================================
 
       $('.Item1').hover(function(){
 
       $('.Item1').hover(function(){
$('#front').stop().animate({'top' : '-700px'}, 500);
+
$('#front').stop().animate({'top' : '-600px'}, 500);
$('#desc_item2').stop().animate({'top' : '-700px'}, 0);
+
$('#desc_item2').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item3').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item3').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item4').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item4').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item5').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item5').stop().animate({'top' : '-600px'}, 0);
 
       },function(){Show();}
 
       },function(){Show();}
 
       );
 
       );
  
 
       $('.Item2').hover(function(){
 
       $('.Item2').hover(function(){
$('#front').stop().animate({'top' : '-700px'}, 500);
+
$('#front').stop().animate({'top' : '-600px'}, 500);
$('#desc_item1').stop().animate({'top' : '-700px'}, 0);
+
$('#desc_item1').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item3').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item3').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item4').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item4').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item5').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item5').stop().animate({'top' : '-600px'}, 0);
 
       },function(){Show();}
 
       },function(){Show();}
 
       );
 
       );
  
 
       $('.Item3').hover(function(){
 
       $('.Item3').hover(function(){
$('#front').stop().animate({'top' : '-700px'}, 500);
+
$('#front').stop().animate({'top' : '-600px'}, 500);
$('#desc_item1').stop().animate({'top' : '-700px'}, 0);
+
$('#desc_item1').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item2').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item2').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item4').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item4').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item5').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item5').stop().animate({'top' : '-600px'}, 0);
 
       },function(){Show();}
 
       },function(){Show();}
 
       );
 
       );
  
 
       $('.Item4').hover(function(){
 
       $('.Item4').hover(function(){
$('#front').stop().animate({'top' : '-700px'}, 500);
+
$('#front').stop().animate({'top' : '-600px'}, 500);
$('#desc_item1').stop().animate({'top' : '-700px'}, 0);
+
$('#desc_item1').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item2').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item2').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item3').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item3').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item5').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item5').stop().animate({'top' : '-600px'}, 0);
 
       },function(){Show();}
 
       },function(){Show();}
 
       );
 
       );
  
 
       $('.Item5').hover(function(){
 
       $('.Item5').hover(function(){
$('#front').stop().animate({'top' : '-700px'}, 500);
+
$('#front').stop().animate({'top' : '-600px'}, 500);
$('#desc_item1').stop().animate({'top' : '-700px'}, 0);
+
$('#desc_item1').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item2').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item2').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item3').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item3').stop().animate({'top' : '-600px'}, 0);
                 $('#desc_item4').stop().animate({'top' : '-700px'}, 0);
+
                 $('#desc_item4').stop().animate({'top' : '-600px'}, 0);
 
       },function(){Show();}
 
       },function(){Show();}
 
       );
 
       );

Revision as of 13:21, 5 August 2015