Team:Cambridge/Templates/headerMinimalprototype

From 2010.igem.org

(Difference between revisions)
m
 
(263 intermediate revisions not shown)
Line 1: Line 1:
-
<html lang="en">  
+
__NOTOC__<html lang="en">  
<head>  
<head>  
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
-
<title>Simple 2 column CSS layout, final layout | 456 Berea Street</title>
+
<script type="text/javascript">
-
<meta name="description" content="How to create a simple two column CSS layout with full width header and footer.">
+
-
<meta name="copyright" content="Copyright (c) 2004 Roger Johansson">
+
-
<meta name="author" content="Roger Johansson">
+
-
<style type="text/css" media="screen, print, projection">  
+
-
body{background:#4d4d4d;}
+
-
#bodyContent{position:relative; width:970px;
+
-
font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;"
+
-
}
+
  var _gaq = _gaq || [];
-
#paddedcontent{padding:20px;}
+
  _gaq.push(['_setAccount', 'UA-65298-13']);
-
#wrap {
+
  _gaq.push(['_trackPageview']);
 +
  (function() {
 +
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
 +
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 +
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 +
  })();
-
width:965px;
+
</script>
-
+
<style>
-
background:#e5fcc2;
+
h2{color:#96d446; }
-
}
+
h1, h2, h3, h4, h5{font-family:"Vollkorn", serif; font-size:200%; line-height:35px; border-bottom:0; margin-bottom:5px; border-top:1px dotted #e3e3e3; margin-top:10px; padding-top:30px; font-weight:normal;}
-
#header {
+
h2.noline{ border-top:0; margin-top:0; padding-top:0; margin-bottom:0; line-height:20px; padding-top:2px; font-size:20px;}
-
background:#ddd;
+
h2.topheader{border-top:0; padding-top:0; margin-top:5px;}
-
}
+
 
-
+
</style>
-
+
 
-
#left {
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
-
float:left;
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
-
width:222px;
+
<script type='text/javascript' src='http://www.srcf.ucam.org/~wac26/iGEM/jquery.lavalamp-1.3.4b.js'></script>
-
padding:10px;
+
<script type='text/javascript' src='http://www.srcf.ucam.org/~wac26/iGEM/jquery.easing.1.3.js'></script>
-
background:#e5fcc2;
+
 
-
}
+
<link href='http://fonts.googleapis.com/css?family=Nobile:regular,bold' rel='stylesheet' type='text/css'>
-
#left ul{list-style:none; }
+
 
-
#left ul li{margin-bottom:15px; }
+
<script type="text/javascript">
-
#left a{ color:#4d4d4d; font-size:15px; font-weight:bold;}
+
$('.left-menu ul')[0].innerHTML="<li><a href=\"https://2010.igem.org\" style=\"font-weight:bold; text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML;
-
h2 {
+
$(function() {
-
margin:0 0 1em;
+
$('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
-
}
+
});
-
#right{
+
$(function(){
-
float:right;
+
        $('ul#accmenu').accordion({
-
width:720px;
+
              header:'.head',
-
padding:0px;
+
              fillSpace:false,
-
background:white;
+
              autoHeight:false,
-
}
+
              navigation:true,
-
#camfooter {
+
              animated: 'easeslide'})
-
clear:both;
+
});
-
height:0px;
+
</script>
-
background:white;
+
<script type="text/javascript" src="/Team:Cambridge/lightbox/js?action=raw"></script>
-
}
+
 
-
#camfooter p {
+
<link href='http://fonts.googleapis.com/css?family=Vollkorn:regular,bold&subset=latin' rel='stylesheet' type='text/css'>
-
margin:0;
+
<style>
-
    }
+
/**
-
* html #camfooter {
+
* jQuery lightBox plugin
-
height:1px;
+
* This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
-
}
+
* and adapted to me for use like a plugin from jQuery.
-
h1.firstHeading {
+
* @name jquery-lightbox-0.5.css
-
display: none;
+
* @author Leandro Vieira Pinho - http://leandrovieira.com
-
}
+
* @version 0.5
 +
* @date April 11, 2008
 +
* @category jQuery plugin
 +
* @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 +
* @license CCAttribution-ShareAlike 2.5 Brazil - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US
 +
* @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 +
*/
 +
#jquery-overlay {
 +
position: absolute;
 +
top: 0;
 +
left: 0;
 +
z-index: 90;
 +
width: 100%;
 +
height: 500px;
 +
}
 +
#jquery-lightbox {
 +
position: absolute;
 +
top: 0;
 +
left: 0;
 +
width: 100%;
 +
z-index: 100;
 +
text-align: center;
 +
line-height: 0;
 +
}
 +
#jquery-lightbox a img { border: none; }
 +
#lightbox-container-image-box {
 +
position: relative;
 +
background-color: #fff;
 +
width: 250px;
 +
height: 250px;
 +
margin: 0 auto;
 +
}
 +
#lightbox-container-image { padding: 10px; }
 +
#lightbox-loading {
 +
position: absolute;
 +
top: 40%;
 +
left: 0%;
 +
height: 25%;
 +
width: 100%;
 +
text-align: center;
 +
line-height: 0;
 +
}
 +
#lightbox-nav {
 +
position: absolute;
 +
top: 0;
 +
left: 0;
 +
height: 100%;
 +
width: 100%;
 +
z-index: 10;
 +
}
 +
#lightbox-container-image-box > #lightbox-nav { left: 0; }
 +
#lightbox-nav a { outline: none;}
 +
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
 +
width: 49%;
 +
height: 100%;
 +
zoom: 1;
 +
display: block;
 +
}
 +
#lightbox-nav-btnPrev {  
 +
left: 0;  
 +
float: left;
 +
}
 +
#lightbox-nav-btnNext {
 +
right: 0;  
 +
float: right;
 +
}
 +
#lightbox-container-image-data-box {
 +
font: 10px Verdana, Helvetica, sans-serif;
 +
background-color: #fff;
 +
margin: 0 auto;
 +
line-height: 1.4em;
 +
overflow: auto;
 +
width: 100%;
 +
padding: 0 10px 0;
 +
}
 +
#lightbox-container-image-data {
 +
padding: 0 10px;
 +
color: #666;
 +
}
 +
#lightbox-container-image-data #lightbox-image-details {  
 +
width: 70%;  
 +
float: left;
 +
text-align: left;
 +
}
 +
#lightbox-image-details-caption { font-weight: bold; }
 +
#lightbox-image-details-currentNumber {
 +
display: block;  
 +
clear: left;
 +
padding-bottom: 1.0em;
 +
}
 +
#lightbox-secNav-btnClose {
 +
width: 66px;
 +
float: right;
 +
padding-bottom: 0.7em;
 +
}
 +
 
 +
</style>
 +
<script>
 +
$(document).ready(function() {
 +
$('a.lightbox').lightBox(); // Select all links with lightbox class
 +
$('a.image').each(function(idx, item) { 
 +
        var src = item.firstChild.src;
 +
src=src.replace(/wiki\/images\/thumb\/(.+)\/(.+)\/(.+)\/(.+)\..../,"wiki/images/$1/$2/$3");
 +
item.href=src;
 +
    });
 +
$('a.image').lightBox();
 +
});
 +
</script>
 +
 
 +
 
 +
 
 +
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Cambridge/thecss?action=raw&ctype=text/css" />
-
</style>
 
</head>  
</head>  
<body>  
<body>  
 +
<style>
 +
body{background-image:url('https://static.igem.org/mediawiki/2010/a/a9/Cam-Theoback.png');
 +
background-position:top center;
 +
background-repeat:repeat-y
 +
}
 +
 +
</style>
<div id="wrap">  
<div id="wrap">  
-
<div id="header"><img align="center" style="margin-bottom:0px; padding:0" src="https://static.igem.org/mediawiki/2010/4/4d/CambridgeTheoLogo.jpg"> </div>  
+
<div id="header"><img align="center" style="margin-bottom:0px; padding:0;" src="https://static.igem.org/mediawiki/2010/d/d4/CamBillHeaderSq.png" usemap="#headermap" alt="E. glowli"> </div>  
-
+
<map name="headermap">
 +
              <area shape="rect" coords="10,30,250,240" href="https://2010.igem.org/Team:Cambridge" />
 +
              <area shape="rect" coords="888,177,942,201" href="http://www.flickr.com/people/roberts87/" />
 +
        </map>
<div id="left">  
<div id="left">  
-
<ul>
+
<ul id="accmenu">
-
<li><a href="/Team:Cambridge" title="Team:Cambridge"> Home</a> </li>
+
<li><a class="head" href="#"> Introduction</a>
-
<li><a href="/Team:Cambridge/Logistics" title="Team:Cambridge/Logistics"> Logistics</a></li>
+
<ul class="llmenu llmenublue">
-
<li><a href="/Team:Cambridge/TheTeam" title="Team:Cambridge/Notebook/Week1">The Team</a></li>
+
<li><a href="/Team:Cambridge">Home</a></li>
-
<li><a href="/Team:Cambridge/Notebook/Week1" title="Team:Cambridge/Notebook/Week1"> Notebook</a></li>
+
 
-
<li><a href="/Team:Cambridge/Description" title="Team:Cambridge/Description"> Description</a> </li>
+
 
-
<li><a href="/Team:Cambridge/Partners" title="Team:Cambridge/Partners">Our Partners</a> </li>
+
<li><a href="/Team:Cambridge/TheTeam">Meet the Team</a></li>
 +
 
 +
<li><a href="/Team:Cambridge/Photos">Photo Gallery</a></li>
 +
<li><a href="/Team:Cambridge/Videos">Videos</a></li>
 +
<li><a href="/Team:Cambridge/BioBricks">Parts submitted</a></li>
 +
 
 +
 
</ul>
</ul>
-
Find us on <a href="http://www.facebook.com/pages/Cambridge-iGEM/123588144352269">facebook</a>!<br /><br />
+
</li>
-
<div style="float:left; padding-left:10px; padding-bottom:10px;">
+
<li><a class="head" href="#">Project Firefly</a>
-
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
+
<ul class="llmenu llmenugreen">
-
<script>
+
<li><a href="/Team:Cambridge/Bioluminescence">Introduction</a></li>
-
new TWTR.Widget({
+
<li><a href="/Team:Cambridge/Bioluminescence/Background_Firefly">Background</a></li>
-
  version: 2,
+
<li><a href="/Team:Cambridge/Bioluminescence/Colour">Coloured outputs</a></li>
-
  type: 'profile',
+
<li><a href="/Team:Cambridge/Bioluminescence/Luciferin_Regeneration">Luciferin recovery</a></li>
-
  rpp: 4,
+
<li><a href="/Team:Cambridge/Bioluminescence/Firefly_Modelling">Modelling</a></li>
-
  interval: 6000,
+
<li><a href="/Team:Cambridge/Bioluminescence/Firefly_Characterisation">Characterisation</a></li>
-
  width: 'auto',
+
</ul>
-
  height: 500,
+
</li>
-
  theme: {
+
 
-
    shell: {
+
<li><a class="head" href="#">Project Vibrio</a>
-
      background: '#161959',
+
<ul class="llmenu llmenublue">
-
      color: '#ffffff'
+
<li><a href="/Team:Cambridge/Bioluminescence/Bacterial_Luciferases">Introduction</a></li>
-
    },
+
<li><a href="/Team:Cambridge/Bioluminescence/Background">Background</a></li>
-
    tweets: {
+
<li><a href="/Team:Cambridge/Bioluminescence/G28">The LuxBrick</a></li>
-
      background: '#ffffff',
+
<li><a href="/Team:Cambridge/Bioluminescence/Bacterial_Codon_optimisation">Codon optimisation</a></li>
-
      color: '#000000',
+
<li><a href="/Team:Cambridge/Bioluminescence/Vibrio_Modelling">Modelling</a></li>
-
      links: '#3200fa'
+
<li><a href="/Team:Cambridge/Bioluminescence/Vibrio_Characterisation">Characterisation</a></li>
-
    }
+
</ul>
-
  },
+
</li>
-
  features: {
+
<li><a class="head" href="#">Tools</a>
-
    scrollbar: false,
+
<ul class="llmenu llmenured">
-
    loop: false,
+
<li><a href="/Team:Cambridge/Tools/Gibson">Gibthon</a></li>
-
    live: false,
+
<li><a href="/Team:Cambridge/Tools/GenBank">BioBrick → GenBank</a></li>
-
    hashtags: true,
+
<li><a href="/Team:Cambridge/Tools/Ligate">Ligation Calculator</a></li>
-
    timestamp: true,
+
<li><a href="/Team:Cambridge/Tools/Eglometer">The E.glometer</a></li>
-
    avatars: false,
+
 
-
    behavior: 'all'
+
</ul>
-
  }
+
</li>
-
}).render().setUser('camgem').start();
+
<li><a class="head" href="#">Gibson Assembly</a>
-
</script>
+
<ul class="llmenu llmenublue">
-
</div>
+
<li><a href="/Team:Cambridge/Gibson/Introduction">Introduction</a></li>
 +
<li><a href="/Team:Cambridge/Gibson/Mechanism">How it works</a></li>
 +
<li><a href="/Team:Cambridge/Gibson/Protocol">Protocol</a></li>
 +
<li><a href="/Team:Cambridge/Gibson/RFC">RFC</a></li>
 +
</ul>
 +
</li>
 +
 
 +
<li><a class="head" href="#">Considerations</a>
 +
<ul class="llmenu llmenublue">
 +
<li><a href="/Team:Cambridge/Human_Practices">Human Practices</a></li>
 +
<li><a href="/Team:Cambridge/Safety">Safety</a></li>
 +
</ul>
 +
</li>
 +
 
 +
<li><a class="head" href="#">Future applications</a>
 +
<ul class="llmenu llmenured">
 +
<li><a href="/Team:Cambridge/Tools/microMeasure">Biosensors</a></li>
 +
<li><a href="/Team:Cambridge/Tools/Lighting">Lighting</a></li>
 +
</ul>
 +
</li>
 +
 
 +
 
 +
<li><a class="head" href="/Team:Cambridge/Notebook/Week1">Notebook</a>
 +
<ul class="llmenu llmenuyellow">
 +
<li><a href="/Team:Cambridge/Notebook/Summary">Summary</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week1">Week 1</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week2">Week 2</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week3">Week 3</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week4">Week 4</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week5">Week 5</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week6">Week 6</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week7">Week 7</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week8">Week 8</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week9">Week 9</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week10">Week 10</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week11">Week 11</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/Week12">Week 12</a></li>
 +
<li><a href="/Team:Cambridge/Notebook/FurtherWork">Beyond Week 12</a></li>
 +
 
 +
<li><a href="/Team:Cambridge/Protocols">Protocols</a> </li>
 +
</ul>
 +
</li>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<li><a href="/Team:Cambridge/Partners" class="head">Our Partners</a>
 +
<ul class="llmenu llmenublue">
 +
<li><a href="/Team:Cambridge/Partners">Sponsors</a> </li>
 +
<li><a href="/Team:Cambridge/iGEM_Teams">iGEM Teams</a> </li>
 +
<li><a href="/Team:Cambridge/Departments">University</a> </li>
 +
<li><a href="/Team:Cambridge/Publicity">Publicity</a> </li>
 +
 
 +
</ul> </li>
 +
 
 +
</ul>
 +
 
</p>
</p>
</div>  
</div>  
<div id="right">
<div id="right">

Latest revision as of 19:27, 12 December 2010