Line 132: | Line 132: | ||
.notOutline { | .notOutline { | ||
− | margin-top: | + | margin-top: 140px; |
min-height: 400px; | min-height: 400px; | ||
} | } | ||
Line 246: | Line 246: | ||
resizeVid(); | resizeVid(); | ||
− | |||
$( window ).resize(function() { | $( window ).resize(function() { | ||
resizeVid() | resizeVid() | ||
− | |||
}) | }) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
function resizeVid() { | function resizeVid() { | ||
Line 325: | Line 318: | ||
$('#h2').text('Loading virtual tour...'); | $('#h2').text('Loading virtual tour...'); | ||
$('#h2').animateCss('fadeInUp'); | $('#h2').animateCss('fadeInUp'); | ||
− | timeoutID = window.setTimeout(slideOut, | + | $('#h2').css('display','block'); |
+ | timeoutID = window.setTimeout(slideOut, 4000); | ||
} | } | ||
function slideOut() { | function slideOut() { | ||
− | |||
var slide = 1 | var slide = 1 | ||
$('#div-frame').html('<iframe class="tourFrame" src="https://2016.igem.org/Team:UMaryland/education"></iframe>'); | $('#div-frame').html('<iframe class="tourFrame" src="https://2016.igem.org/Team:UMaryland/education"></iframe>'); |
Revision as of 23:43, 5 September 2016
</div></div>