Team:KIT-Kyoto/Test
From 2014.igem.org
(Difference between revisions)
Line 187: | Line 187: | ||
$('#close a') | $('#close a') | ||
.click(function(){ | .click(function(){ | ||
+ | topimg(); | ||
var closed = $("#close").hasClass("close"); | var closed = $("#close").hasClass("close"); | ||
if(closed){ | if(closed){ | ||
Line 193: | Line 194: | ||
$(".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'); | ||
- | $(".toplogo,#nav5,.active,.submenu").animate({opacity:'0'},800,'swing' | + | $(".toplogo,#nav5,.active,.submenu").animate({opacity:'0'},800,'swing'); |
setTimeout(function(){ | setTimeout(function(){ | ||
$("#close a").css({'background-image':'url("https://static.igem.org/mediawiki/2014/d/d0/Kit_open.png")'}); | $("#close a").css({'background-image':'url("https://static.igem.org/mediawiki/2014/d/d0/Kit_open.png")'}); | ||
Line 202: | Line 203: | ||
$(".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'); | ||
- | $(".toplogo,#nav5,.active,.submenu").animate({opacity:'1'},800,'swing' | + | $(".toplogo,#nav5,.active,.submenu").animate({opacity:'1'},800,'swing'); |
setTimeout(function(){ | setTimeout(function(){ | ||
$("#close a") | $("#close a") |
Revision as of 16:51, 10 October 2014