Difference between revisions of "Template:UofUppsala/NFmain"

Line 200: Line 200:
 
     document.getElementById('topanim').play();
 
     document.getElementById('topanim').play();
 
  }
 
  }
 +
 +
$( document ).ready(function() {
 +
  $('video.animation').removeAttr('controls');
 +
});
 
</script>
 
</script>
  
Line 213: Line 217:
 
         <a class="navbar-brand" id="Logo" onclick="usermenu()">
 
         <a class="navbar-brand" id="Logo" onclick="usermenu()">
 
<div style="height:70px; overflow:hidden;">
 
<div style="height:70px; overflow:hidden;">
             <video id="topanim" style="transform: translateY(0%);margin-top:-7px" class="team-logo d-inline-block align-top pointer" autoplay="autoplay" muted="muted">
+
             <video id="topanim" style="margin-top:-7px" class="team-logo animation d-inline-block align-top pointer" autoplay="autoplay" preload controls muted="muted">
 
             <source src="https://static.igem.org/mediawiki/2020/5/58/T--UofUppsala--Logo_Animation-updated.webm">
 
             <source src="https://static.igem.org/mediawiki/2020/5/58/T--UofUppsala--Logo_Animation-updated.webm">
 
         </video>
 
         </video>

Revision as of 11:59, 27 October 2020


Navigation Bar