Team:UCL London/templates/v2/overall header

From 2010.igem.org

(Difference between revisions)
 
(81 intermediate revisions not shown)
Line 6: Line 6:
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
-
<link href="http://static.erepublik.co.uk/igem/v2/css.css" rel="stylesheet" type="text/css" media="screen" />
+
<link href="https://2010.igem.org/Team:UCL_London/files/css?ctype=text/css&amp;action=raw" rel="stylesheet" type="text/css" media="all" />
-
<link href="http://static.erepublik.co.uk/igem/v2/style/green.css" rel="stylesheet" type="text/css" media="screen" />
+
-
<link href="http://static.erepublik.co.uk/igem/v2/south-street/jquery-ui-1.8.4.custom.css" rel="stylesheet" type="text/css"/>
+
-
<!--[if IE 7]><link href="http://static.erepublik.co.uk/igem/v2/ie7.css" rel="stylesheet" type="text/css" media="screen" /><![endif]-->
+
-
<!--[if IE 8]><link href="http://static.erepublik.co.uk/igem/v2/ie8.css" rel="stylesheet" type="text/css" media="screen" /><![endif]-->
+
-
<script type="text/javascript" src="http://static.erepublik.co.uk/igem/v2/js/js.js"></script>
+
<!--[if IE 7]><link href=""https://2010.igem.org/Team:UCL_London/templates/ie7?ctype=text/css&amp;action=raw" rel="stylesheet" type="text/css" media="screen" /><![endif]-->
-
<script type="text/javascript" src="http://static.erepublik.co.uk/igem/v2/js/cartogothicstd.font.js"></script>
+
<!--[if IE 8]><link href=""https://2010.igem.org/Team:UCL_London/templates/ie8?ctype=text/css&amp;action=raw" rel="stylesheet" type="text/css" media="screen" /><![endif]-->
 +
 
 +
<script type="text/javascript" src="https://2010.igem.org/Team:UCL_London/files/js?ctype=text/javascript&action=raw"></script>
<script type="text/javascript">
<script type="text/javascript">
-
jQuery(document).ready(function() {
+
jQuery(document).ready(function() {
-
var footerContents = jQuery('#footer-box').html();
+
var footerContents = jQuery('#footer-box');
-
jQuery('#new-wiki-footer').html(footerContents);
+
var first = footerContents.find('div:first').find('#f-list').html();
-
});
+
var last = footerContents.find('div:last').find('#f-list').html();
 +
 
 +
jQuery('#footer-wiki-1').html(first);
 +
jQuery('#footer-wiki-2').html(last);
 +
 
 +
jQuery('.gallery-item a').attr('rel', 'gallery');
 +
 
 +
jQuery("a[rel=gallery]").fancybox({
 +
'transitionIn' : 'elastic',
 +
'transitionOut' : 'elastic',
 +
'titlePosition' : 'over',
 +
'titleFormat'      : function(title, currentArray, currentIndex, currentOpts)
 +
{
 +
    return '<span id="fancybox-title-over">Image ' +  (currentIndex + 1) + ' / ' + currentArray.length + ' ' + title + '</span>';
 +
}
 +
});
 +
 
 +
});
 +
function submitQuery() {
 +
        window.location = 'https://2010.igem.org/Team:UCL_London/Search?q='
 +
            + encodeURIComponent(
 +
                document.getElementById('searchbox').value);
 +
        return false;
 +
      }
</script>
</script>
</head>
</head>
<body>
<body>
 +
<div id="return-to-igem" style="position:fixed;top:0;right:0;margin: 15px 15px 0 0"><a href="https://2010.igem.org"><img src="https://static.igem.org/mediawiki/2010/c/c6/Ucl-igem3.png" alt="RETURN TO IGEM 2010" /></a>
 +
</div>
<div id="top">
<div id="top">
<div id="top_effect">
<div id="top_effect">
<div class="top_shadow">
<div class="top_shadow">
<div class="sp_wrap">
<div class="sp_wrap">
 +
<div id="logo">
<div id="logo">
-
<a href="./">
+
<a href="https://2010.igem.org/Team:UCL_London">
-
<img src="http://static.erepublik.co.uk/igem/v2/images/logo.png" alt="" />
+
<img src="https://static.igem.org/mediawiki/2010/2/27/Ucl-template-logo.png" alt="UCL IGEM 2010" />
</a>
</a>
</div>
</div>
<div id="search">
<div id="search">
-
<form method="get" id="search-from" action="./">
+
<form onsubmit="return submitQuery()">
<input id="searchbox" type="text" value="Search..."  name="search" onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}" />
<input id="searchbox" type="text" value="Search..."  name="search" onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}" />
<input type="submit" id="search-bt" value="" />
<input type="submit" id="search-bt" value="" />
 +
<input type="hidden"  name="sitesearch" value="https://2010.igem.org/Team:UCL_London" />
</form>
</form>

Latest revision as of 03:14, 28 October 2010

UCL IGEM 2010

RETURN TO IGEM 2010