Difference between revisions of "Team:UMaryland/about"

Line 1,003: Line 1,003:
 
                  
 
                  
 
$('.description').css('display','none'); // hides all text
 
$('.description').css('display','none'); // hides all text
$('.description').css('margin-left', '60px')
+
$('#div-' + selected).css('margin-left', '60px')
 
$('#div-' + selected).css('display','block'); // the div containing the text that is selected is displayed
 
$('#div-' + selected).css('display','block'); // the div containing the text that is selected is displayed
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
Line 1,022: Line 1,022:
 
                  
 
                  
 
                 $('.description').css('display','none'); // hides all text
 
                 $('.description').css('display','none'); // hides all text
$('.description').css('margin-left', '60px')
+
$('#div-' + selected).css('margin-left', '60px')
 
$('#div-' + selected).css('display','block'); // the div containing the text that is selected is displayed
 
$('#div-' + selected).css('display','block'); // the div containing the text that is selected is displayed
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
Line 1,041: Line 1,041:
 
                 $('h1').addClass('clicked');
 
                 $('h1').addClass('clicked');
 
$('.description').css('display','none'); // hides all text
 
$('.description').css('display','none'); // hides all text
$('.description').css('margin-left', '60px')
+
$('#div-' + selected.css('margin-left', '60px')
 
$('#div-' + selected).css('display','block'); // the div containing the text that is selected is displayed
 
$('#div-' + selected).css('display','block'); // the div containing the text that is selected is displayed
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
Line 1,058: Line 1,058:
 
if (selected != current) { // only change display / trigger animation if clicking different nav
 
if (selected != current) { // only change display / trigger animation if clicking different nav
 
                 $('.description').css('display','none'); // hides all text
 
                 $('.description').css('display','none'); // hides all text
$('.description').css('margin-left', '60px')
+
$('#div-' + selected).css('margin-left', '60px')
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
 
$('#div-' + selected).animate({ marginLeft: '0px'}, 400);
 
$('.clickImageS').css('display', 'none')
 
$('.clickImageS').css('display', 'none')

Revision as of 20:04, 5 August 2016

About Our Team

Our Team

UMaryland iGEM was founded in 2014 and won two gold medals since its founding. Composed of undergraduate students under the advising of graduate mentors and faculty members, UMaryland iGEM aims to train new scientists in the field of synthetic biology and to apply their knowledge in solving major local and global issues.