Difference between revisions of "Team:UMaryland"

Line 276: Line 276:
 
$(window).load(function() {
 
$(window).load(function() {
 
var timeoutID;
 
var timeoutID;
 +
var timeoutID2;
 
 
 
$('#img-logo, #h2').animateCss('fadeInUp');
 
$('#img-logo, #h2').animateCss('fadeInUp');
Line 316: Line 317:
 
$('#h2').removeClass('animated ' + 'fadeOutDown');
 
$('#h2').removeClass('animated ' + 'fadeOutDown');
 
$('#h2').css('padding-top','80px');
 
$('#h2').css('padding-top','80px');
$('#h2').text('Loading virtual tour...');
+
$('#h2').text('Loading virtual tour');
 
$('#h2').animateCss('fadeInUp');
 
$('#h2').animateCss('fadeInUp');
 
$('#h2').css('display','block');
 
$('#h2').css('display','block');
 
timeoutID = window.setTimeout(slideOut, 4000);
 
timeoutID = window.setTimeout(slideOut, 4000);
 +
timeoutID2 = window.setTimeout(setPeriod, 800);
 
}
 
}
 
 
Line 330: Line 332:
 
 
 
if (slide == 1) {
 
if (slide == 1) {
 +
window.clearTimeout(timeoutID2);
 
var left = $(document).outerWidth(true);
 
var left = $(document).outerWidth(true);
 
$('#div-frame').css('z-index','999999')
 
$('#div-frame').css('z-index','999999')
Line 342: Line 345:
 
 
 
})
 
})
 +
}
 +
 +
function setPeriod() {
 +
text = $('#h2').text();
 +
var loadText = ''
 +
switch(text) {
 +
case 'Loading virtual tour':
 +
loadText = 'Loading virtual tour.';
 +
break;
 +
case 'Loading virtual tour.':
 +
loadText = 'Loading virtual tour..';
 +
break;
 +
case 'Loading virtual tour..':
 +
loadText = 'Loading virtual tour...';
 +
break;
 +
case 'Loading virtual tour...':
 +
loadText = 'Loading virtual tour....';
 +
break;
 +
case 'Loading virtual tour....':
 +
loadText = 'Loading virtual tour.....';
 +
break;
 +
case 'Loading virtual tour.....':
 +
loadText = 'Loading virtual tour.';
 +
break;
 +
}
 +
text = $('#h2').text(loadText);
 +
timeoutID2 = window.setTimeout(setPeriod, 800);
 
}
 
}
 
 

Revision as of 23:49, 5 September 2016

</div></div>

Biosequestration of Methane

Creating a strain of E. coli that break down methane to be implemented into landfills as an environmentally friendly strategy for ameliorating global climate change

Follow us on Facebook and Instagram for updates!

Take our
virtual tour!