Line 268: | Line 268: | ||
changeColor('bubble') | changeColor('bubble') | ||
− | var target = '' | + | var target = ''; |
− | var color = '' | + | var color = ''; |
+ | var hundred = $(window).height(); | ||
$('.sideNav span').click(function() { | $('.sideNav span').click(function() { | ||
Line 280: | Line 281: | ||
target = ''; | target = ''; | ||
− | + | hundred = $(window).height(); | |
$('.divContainer').css('display','block'); | $('.divContainer').css('display','block'); | ||
$('.divContainer').animate( | $('.divContainer').animate( | ||
Line 295: | Line 296: | ||
else | else | ||
if (target == '') { //if nothing has been selected so far | if (target == '') { //if nothing has been selected so far | ||
+ | hundred = $(window).height(); | ||
+ | |||
$('.sideNav span').animate( | $('.sideNav span').animate( | ||
{'margin-left' : '0px'}); | {'margin-left' : '0px'}); | ||
Line 311: | Line 314: | ||
$('.divContainer').css('display','block'); | $('.divContainer').css('display','block'); | ||
$('.divContainer').animate( | $('.divContainer').animate( | ||
− | {'height' : ' | + | {'height' : hundred + 'px'},700); |
} | } | ||
else { //catch-all, should be switching between headings | else { //catch-all, should be switching between headings | ||
+ | hundred = $(window).height(); | ||
color = $(this).attr('data-color') | color = $(this).attr('data-color') | ||
− | |||
− | |||
− | |||
target = $(this).attr('data-target'); | target = $(this).attr('data-target'); | ||
− | + | ||
//$('.divContainer').css('height','0%'); | //$('.divContainer').css('height','0%'); | ||
$('.divContainer').css('display','block'); | $('.divContainer').css('display','block'); | ||
Line 326: | Line 327: | ||
{'height' : '0%'},400,function(){ | {'height' : '0%'},400,function(){ | ||
+ | $('.insideContainer').css('background-color',color) | ||
+ | $('.insideText').css('background-color',color) | ||
+ | $('.divContainer').css('background-color',color) | ||
$(".hideable").css('display','none'); | $(".hideable").css('display','none'); | ||
Line 331: | Line 335: | ||
$('.divContainer').animate( | $('.divContainer').animate( | ||
− | {'height' : ' | + | {'height' : hundred + 'px'},400); |
}); | }); | ||
Revision as of 03:42, 28 June 2018
2018 Mid-Atlantic Meetup
Hosted by UMaryland iGEM
Team UMaryland is hosting this years Mid-Atlantic Meetup, giving teams an opportunity to practice presenting their ideas and exchange feedback with other iGEM teams in the Mid-Atlantic Area!
Each team will be giving a short presentation followed by a Q&A, and we will have coffee breaks and lunch in between.We’ll also be hosting keynote speakers to talk about their experience in synthetic biology from a broad range of backgrounds.
Please email us to join or to confirm your participation. See everyone there!
UMaryland iGEM Main Email: umarylandigem@gmail.com Follow UMaryland iGEM on Facebook and Instagram