Template:Iitm/main new

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
-
{| style="color:#000000;background-color:#f0f0f0;" cellpadding="3" cellspacing="1" border="1" bordercolor="#fff" width="62%" align="center"
+
__NOTOC__<html lang="en">
-
!align="center"|[[Team:IIT_Madras|Home]]
+
<head>
-
!align="center"|[[Team:IIT_Madras/Team|Team]]
+
-
!align="center"|[[Team:IIT_Madras/Project|Project]]
+
<script type="text/javascript">
-
!align="center"|[[Team:IIT_Madras/Parts|Parts]]
+
 
-
!align="center"|[[Team:IIT_Madras/Modeling|Modeling]]
+
  var _gaq = _gaq || [];
-
!align="center"|[[Team:IIT_Madras/Notebook|Notebook]]
+
  _gaq.push(['_setAccount', 'UA-65298-13']);
-
!align="center"|[[Team:IIT_Madras/Safety|Safety]]
+
  _gaq.push(['_trackPageview']);
-
!align="center"|[[Team:IIT_Madras/Attributions|Attributions]]
+
 
-
|}
+
  (function() {
-
<br>
+
    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);
 +
  })();
 +
 
 +
</script>
 +
<style>
 +
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;}
 +
h2.noline{ border-top:0; margin-top:0; padding-top:0; margin-bottom:0; line-height:20px; padding-top:2px; font-size:20px;}
 +
h2.topheader{border-top:0; padding-top:0; margin-top:5px;}
 +
 
 +
</style>
 +
 
 +
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
 +
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
 +
<script type='text/javascript' src='http://www.srcf.ucam.org/~wac26/iGEM/jquery.lavalamp-1.3.4b.js'></script>
 +
<script type='text/javascript' src='http://www.srcf.ucam.org/~wac26/iGEM/jquery.easing.1.3.js'></script>
 +
 
 +
<link href='http://fonts.googleapis.com/css?family=Nobile:regular,bold' rel='stylesheet' type='text/css'>
 +
 
 +
<script type="text/javascript">
 +
$('.left-menu ul')[0].innerHTML="<li><a href=\"https://2011.igem.org\" style=\"font-weight:bold; text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML;
 +
$(function() {
 +
$('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
 +
});
 +
$(function(){
 +
        $('ul#accmenu').accordion({
 +
              header:'.head',
 +
              fillSpace:false,
 +
              autoHeight:false,
 +
              navigation:true,
 +
              animated: 'easeslide'})
 +
});
 +
</script>
 +
<script type="text/javascript" src="/Team:Cambridge/lightbox/js?action=raw"></script>
 +
 
 +
<link href='http://fonts.googleapis.com/css?family=Vollkorn:regular,bold&subset=latin' rel='stylesheet' type='text/css'>
 +
<style>
 +
/**
 +
* jQuery lightBox plugin
 +
* 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.
 +
* @name jquery-lightbox-0.5.css
 +
* @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>
 +
 
 +
 
 +
 
 +
 
 +
</head>
 +
<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="header"><img align="center" style="margin-bottom:0px; padding:0;" src="https://static.igem.org/mediawiki/2011/5/54/Temp.png" usemap="#headermap" alt="E.coli said, Let there be light\""> </div>
 +
<map name="headermap">
 +
 
 +
              <area shape="rect" coords="10,30,250,240" href="https://2011.igem.org/Team:IIT_Madras" />
 +
              <area shape="rect" coords="888,177,942,201" href="http://www.flickr.com/people/roberts87/" />
 +
        </map>
 +
<div id="left">
 +
 +
<ul id="accmenu">
 +
<li><a class="head" href="#"> Introduction</a>
 +
<ul class="llmenu llmenublue">
 +
<li><a href="/Team:IIT_Madras">Home</a></li>
 +
 
 +
 
 +
<li><a href="/Team:IIT_Madras/Team">Meet the Team</a></li>
 +
<li><a href="/Team:IIT_Madras/Project">Project</a></li>
 +
<li><a href="/Team:IIT_Madras/Photos">Photo Gallery</a></li>
 +
<li><a href="/Team:IIT_Madras/Videos">Videos</a></li>
 +
<li><a href="/Team:IIT_Madras/Parts">Parts submitted</a></li>
 +
 
 +
 
 +
</ul>
 +
</li>
 +
<li><a class="head" href="#">Project</a>
 +
<ul class="llmenu llmenugreen">
 +
<li><a href="/Team:IIT_Madras/Project">Introduction</a></li>
 +
<li><a href="/Team:IIT_Madras/Project/Background">Background</a></li>
 +
<li><a href="/Team:IIT_Madras/Project/Applications">Applications</a></li>
 +
<li><a href="/Team:IIT_Madras/Project/Modeling">Modeling</a></li>
 +
</ul>
 +
</li>
 +
 
 +
</p>
 +
</div>
 +
<div id="right">

Revision as of 22:52, 21 August 2011