Template:Team:KIT-Kyoto/first
From 2014.igem.org
(Difference between revisions)
(2 intermediate revisions not shown) | |||
Line 11: | Line 11: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function(){ | $(function(){ | ||
- | var main = $("#container,#SideMenu,#igem,#page-top"); | + | var main = $("#container,#SideMenu,#igem,#page-top,#mobilemenu"); |
main.css({opacity:'0'}); | main.css({opacity:'0'}); | ||
$("#first").css({opacity:'0'}); | $("#first").css({opacity:'0'}); | ||
Line 22: | Line 22: | ||
setTimeout(function(){ | setTimeout(function(){ | ||
$("#first").animate({opacity:'1'},800); | $("#first").animate({opacity:'1'},800); | ||
+ | $("#first_box_left,#first_box_right,#first_box_top,#first_box_bottom").animate({opacity:'0'},400); | ||
},1400); | },1400); | ||
setTimeout(function(){ | setTimeout(function(){ | ||
main.stop().animate({opacity:'1'},3000); | main.stop().animate({opacity:'1'},3000); | ||
- | $("#first | + | $("#first").stop().animate({opacity:'0'},1000); |
},3000); | },3000); | ||
}); | }); |
Latest revision as of 06:24, 25 September 2014