Team:Cambridge/TEST1

From 2012.igem.org

(Difference between revisions)
Line 13: Line 13:
$(document).ready(function() {
$(document).ready(function() {
-
$('.headover h6').css("display","none");
+
$('.splash_over').css("display","none");
-
$('#Project_title').mouseover(function() {
+
$('#HP').mouseover(function() {
-
    $('#Project_headover').stop().animate({height:'170px',top:'0px'},1000);
+
$('#over_HP').fadeIn(100);
-
$('#Project_headover h6').fadeIn(500);
+
});
});
-
     $('#Project').mouseleave(function() {
+
     $('#HP').mouseleave(function() {
-
    $('#Project_headover').stop().animate({height:'90px',top:'80px'},1000);
+
$('#over_HP').fadeOut(100);
-
$('#Project_headover h6').fadeOut(500);
+
     });
     });
 +
 +
$('#OV').mouseover(function() {
 +
$('#over_OV').fadeIn(100);
 +
});
-
$('#Outreach_title').mouseover(function() {
+
    $('#OV').mouseleave(function() {
-
    $('#Outreach_headover').stop().animate({height:'170px',top:'0px'},1000);
+
$('#over_OV').fadeOut(100);
-
$('#Outreach_headover h6').fadeIn(500);
+
     });
     });
-
    $('#Outreach').mouseleave(function() {
+
$('#RS').mouseover(function() {
-
    $('#Outreach_headover').stop().animate({height:'90px',top:'80px'},1000);
+
$('#over_RS').fadeIn(100);
-
$('#Outreach_headover h6').fadeOut(500);
+
});
 +
 +
    $('#RS').mouseleave(function() {
 +
$('#over_RS').fadeOut(100);
     });
     });
-
 
+
-
$('#Gallery_title').mouseover(function() {
+
$('#RM').mouseover(function() {
-
    $('#Gallery_headover').stop().animate({height:'170px',top:'0px'},1000);
+
$('#over_RM').fadeIn(100);
-
$('#Gallery_headover h6').fadeIn(500);
+
});
 +
 +
    $('#RM').mouseleave(function() {
 +
$('#over_RM').fadeOut(100);
     });
     });
-
    $('#Gallery').mouseleave(function() {
+
$('#BL').mouseover(function() {
-
    $('#Gallery_headover').stop().animate({height:'90px',top:'80px'},1000);
+
$('#over_BL').fadeIn(100);
-
$('#Gallery_headover h6').fadeOut(500);
+
});
 +
 +
    $('#BL').mouseleave(function() {
 +
$('#over_BL').fadeOut(100);
     });
     });
-
$('#Diary_title').mouseover(function() {
+
$('#SD').mouseover(function() {
-
    $('#Diary_headover').stop().animate({height:'170px',top:'0px'},1000);
+
$('#over_SD').fadeIn(100);
-
$('#Diary_headover h6').fadeIn(500);
+
});
 +
 +
    $('#SD').mouseleave(function() {
 +
$('#over_SD').fadeOut(100);
     });
     });
-
    $('#Diary').mouseleave(function() {
 
-
    $('#Diary_headover').stop().animate({height:'90px',top:'80px'},1000);
 
-
$('#Diary_headover h6').fadeOut(500);
 
-
    });
 
-
$('#Team_title').mouseover(function() {
 
-
    $('#Team_headover').stop().animate({height:'170px',top:'0px'},1000);
 
-
$('#Team_headover h6').fadeIn(500);
 
-
    });
 
-
 
-
    $('#Team').mouseleave(function() {
 
-
    $('#Team_headover').stop().animate({height:'90px',top:'80px'},1000);
 
-
$('#Team_headover h6').fadeOut(500);
 
-
    });
 
-
 
-
$('#Safety_title').mouseover(function() {
 
-
    $('#Safety_headover').stop().animate({height:'170px',top:'0px'},1000);
 
-
$('#Safety_headover h6').fadeIn(500);
 
-
    });
 
-
 
-
    $('#Safety').mouseleave(function() {
 
-
    $('#Safety_headover').stop().animate({height:'90px',top:'80px'},1000);
 
-
$('#Safety_headover h6').fadeOut(500);
 
-
    });
 
-
 
-
$('#Sponsors_title').mouseover(function() {
 
-
    $('#Sponsors_headover').stop().animate({height:'170px',top:'0px'},1000);
 
-
$('#Sponsors_headover h6').fadeIn(500);
 
-
    });
 
-
 
-
    $('#Sponsors').mouseleave(function() {
 
-
    $('#Sponsors_headover').stop().animate({height:'90px',top:'80px'},1000);
 
-
$('#Sponsors_headover h6').fadeOut(500);
 
-
    });
 
$('#abBox').css("display","none");
$('#abBox').css("display","none");
Line 105: Line 85:
<div id='wrapper'>
<div id='wrapper'>
<div id='top'>
<div id='top'>
-
<div id='abstract_button'></div>
+
<a href='https://2012.igem.org/Team:Cambridge/Judging'><div id='abstract_button'></div></a>
<div id='judging_button'></div>
<div id='judging_button'></div>
</div>
</div>
<div id='main'>
<div id='main'>
 +
<div id='HP' class='splash'>
<div id='over_HP' class='splash_over'></div>
<div id='over_HP' class='splash_over'></div>
 +
</div>
 +
<div id='OV' class='splash'>
<div id='over_OV' class='splash_over'></div>
<div id='over_OV' class='splash_over'></div>
 +
</div>
 +
<div id='RS' class='splash'>
<div id='over_RS' class='splash_over'></div>
<div id='over_RS' class='splash_over'></div>
 +
</div>
 +
<div id='RM' class='splash'>
<div id='over_RM' class='splash_over'></div>
<div id='over_RM' class='splash_over'></div>
 +
</div>
 +
<div id='BL' class='splash'>
<div id='over_BL' class='splash_over'></div>
<div id='over_BL' class='splash_over'></div>
 +
</div>
 +
<div id='SD' class='splash'>
<div id='over_SD' class='splash_over'></div>
<div id='over_SD' class='splash_over'></div>
 +
</div>
</div>
</div>
<div id='bottom'>
<div id='bottom'>

Revision as of 21:35, 14 October 2012