Team:UCL E/templates/head
From 2013.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
</script> | </script> | ||
- | + | <script> | |
+ | <script>$(document).ready(function(){ | ||
+ | var dtrandom = Math.floor((Math.random()*12)); | ||
+ | var dtlogos = new Array(); | ||
+ | dtlogos[0] = "https://static.igem.org/mediawiki/2013/4/4a/Ucl_Logo-header_01.png"; | ||
+ | dtlogos[1] = "https://static.igem.org/mediawiki/2013/9/96/Ucl_Logo-header_03.png"; | ||
+ | dtlogos[2] = "https://static.igem.org/mediawiki/2013/2/2f/Ucl_Logo-header_04.png"; | ||
+ | dtlogos[3] = "https://static.igem.org/mediawiki/2013/c/ce/Ucl_Logo-header_02.png"; | ||
+ | dtlogos[4] = "https://static.igem.org/mediawiki/2013/1/1c/Ucl_Logo-header_05.png"; | ||
+ | dtlogos[5] = "https://static.igem.org/mediawiki/2013/d/d2/Ucl_Logo-header_06.png"; | ||
+ | dtlogos[6] = "https://static.igem.org/mediawiki/2013/d/d2/Ucl_Logo-header_07.png"; | ||
+ | dtlogos[7] = "https://static.igem.org/mediawiki/2013/7/77/Ucl_Logo-header_08.png"; | ||
+ | dtlogos[8] = "https://static.igem.org/mediawiki/2013/8/88/Ucl_Logo-header_09.png"; | ||
+ | dtlogos[9] = "https://static.igem.org/mediawiki/2013/d/d5/Ucl_Logo-header_10.png"; | ||
+ | dtlogos[10] = "https://static.igem.org/mediawiki/2013/c/c8/Ucl_Logo-header_11.png"; | ||
+ | dtlogos[11] = "https://static.igem.org/mediawiki/2013/b/b0/Ucl_Logo-header_12.png"; | ||
+ | |||
+ | $('dtlogo').find('img').attr('src',dtlogos[dtrandom]); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
<div id="ucligem"><div id="nav"><a href="https://2013.igem.org/Team:UCL_E"><img id="dtlogo" src="https://static.igem.org/mediawiki/2013/b/b0/Ucl_Logo-header_12.png" /></a> | <div id="ucligem"><div id="nav"><a href="https://2013.igem.org/Team:UCL_E"><img id="dtlogo" src="https://static.igem.org/mediawiki/2013/b/b0/Ucl_Logo-header_12.png" /></a> |
Revision as of 10:41, 28 October 2013