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')
+
$('.description').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);
$('.clickImage').css('display', 'none')
+
$('.clickImage').css('display', 'none');
 
$('#' + id).css({ 'width': '200px', 'height': '128px' })
 
$('#' + id).css({ 'width': '200px', 'height': '128px' })
 
$('#' + id).css('display', 'block');
 
$('#' + id).css('display', 'block');
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);
$('.clickImageS').css('display', 'none')
+
$('.clickImageS').css('display', 'none');
 
$(this).css('display', 'block');
 
$(this).css('display', 'block');
 
$(this).parent().attr('colspan', '3');
 
$(this).parent().attr('colspan', '3');
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');
 
$('#' + id).css({ 'width': '150px', 'height': '133px' })
 
$('#' + id).css({ 'width': '150px', 'height': '133px' })
 
$('#' + id).css('display', 'block');
 
$('#' + id).css('display', 'block');

Revision as of 20:07, 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.