Team:Dundee

From 2011.igem.org

(Difference between revisions)
Line 2: Line 2:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
<script type="text/javascript">
<script type="text/javascript">
 +
  function RebuildHeader() {
 +
  var html = '<table cellpadding="2" cellspacing="2" border="0" style="background-color: transparent;"><tr><td><img src="https://static.igem.org/mediawiki/2011/c/c9/Logo.png" style="height: 90px; margin-left:30px; margin-top:20px;" alt="This must be edited. Still, a cool idea" /></td><td><h1 class="logo">CSIR Wits</h1></td></tr></table>';
 +
 +
  $('#p-logo').empty().append(html);
   $('#top-section').css({
   $('#top-section').css({
-
     backgroundImage: 'url(https://static.igem.org/mediawiki/2011/5/5c/Dundee-bg.jpg)'
+
     backgroundImage: 'url(https://static.igem.org/mediawiki/2011/5/53/Body_bg.gif)',
 +
    backgroundColor: '#666666',
 +
    backgroundRepeat: 'repeat-x',
 +
    height: '155px'
   });
   });
-
</script>
+
}
 +
 
 +
$(function() {
 +
RebuildHeader();
 +
})
</script>
</script>
</html>
</html>

Revision as of 11:04, 18 May 2011