Team:KIT-Kyoto/Test
From 2014.igem.org
(Difference between revisions)
Line 205: | Line 205: | ||
$('#close a') | $('#close a') | ||
.click(function(){ | .click(function(){ | ||
- | + | ||
var closed = $("#close").hasClass("close"); | var closed = $("#close").hasClass("close"); | ||
if(closed){ | if(closed){ | ||
Line 211: | Line 211: | ||
$("#close").animate({left:'0px'},500,'swing').removeClass("close"); | $("#close").animate({left:'0px'},500,'swing').removeClass("close"); | ||
$(".logo").animate({left:'40'},500,'swing'); | $(".logo").animate({left:'40'},500,'swing'); | ||
- | $("#container").animate({margin:'0px 0px 0px 35px'},500,'swing'); | + | $("#container").animate({margin:'0px 0px 0px 35px'},500,'swing',topimg();); |
$(".toplogo,#nav5,.active,.submenu").animate({opacity:'0'},800,'swing'); | $(".toplogo,#nav5,.active,.submenu").animate({opacity:'0'},800,'swing'); | ||
setTimeout(function(){ | setTimeout(function(){ | ||
Line 220: | Line 220: | ||
$("#close").animate({left:'215px'},500,'swing').addClass("close"); | $("#close").animate({left:'215px'},500,'swing').addClass("close"); | ||
$(".logo").animate({left:'250'},500,'swing'); | $(".logo").animate({left:'250'},500,'swing'); | ||
- | $("#container").animate({margin:'0px 0px 0px 250px'},500,'swing'); | + | $("#container").animate({margin:'0px 0px 0px 250px'},500,'swing',topimg();); |
$(".toplogo,#nav5,.active,.submenu").animate({opacity:'1'},800,'swing'); | $(".toplogo,#nav5,.active,.submenu").animate({opacity:'1'},800,'swing'); | ||
setTimeout(function(){ | setTimeout(function(){ |
Revision as of 17:34, 10 October 2014