Difference between revisions of "Team:Czech Republic/Template:Scripts"

Line 14: Line 14:
  
 
<script>
 
<script>
window.onload = function() {
+
function favicon()
 +
{
 
  var link = document.createElement('link');
 
  var link = document.createElement('link');
 
     link.type = 'image/x-icon';
 
     link.type = 'image/x-icon';
Line 20: Line 21:
 
     link.href = 'https://static.igem.org/mediawiki/2015/3/34/Czech_Republic_favicon.png';
 
     link.href = 'https://static.igem.org/mediawiki/2015/3/34/Czech_Republic_favicon.png';
 
     document.getElementsByTagName('head')[0].appendChild(link);
 
     document.getElementsByTagName('head')[0].appendChild(link);
 +
}
 
</script>
 
</script>
  
 
</head>
 
</head>
 
</html>
 
</html>

Revision as of 18:05, 4 September 2015