Team:Northwestern/Templates/trial
From 2011.igem.org
(Difference between revisions)
Helenmelon (Talk | contribs) |
|||
(45 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__<html> | __NOTOC__<html> | ||
- | <head> | + | <head> |
+ | <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 Home</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> | ||
+ | |||
<style type="text/css"> | <style type="text/css"> | ||
.firstHeading { | .firstHeading { | ||
Line 8: | Line 30: | ||
#globalWrapper{ | #globalWrapper{ | ||
- | background:#000000 url("https://static.igem.org/mediawiki/2011/9/93/Background_texture.jpg") center top | + | background:#000000 url("https://static.igem.org/mediawiki/2011/9/93/Background_texture.jpg") center top repeat fixed; |
padding-bottom:00px; | padding-bottom:00px; | ||
border: none; | border: none; | ||
Line 355: | Line 377: | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <script type="text/javascript" src="/Team:Cambridge/lightbox/js?action=raw"></script> | ||
+ | <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> | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 392: | Line 544: | ||
<div id="main1"> | <div id="main1"> | ||
<div id="header"> | <div id="header"> | ||
- | <a href="https://2011.igem.org/Team:Northwestern"><img src="https://static.igem.org/mediawiki/2011/e/e9/NUbanner_new2.jpg" height = "240px" width="965px" style="opacity:1;filter:alpha(opacity=100)" alt="NU-igem logo"/ border="0"></a> | + | <a href="https://2011.igem.org/Team:Northwestern"><img src="https://static.igem.org/mediawiki/2011/e/e9/NUbanner_new2.jpg" height = "240px" width="965px" style="opacity:1;filter:alpha(opacity=100)" alt="NU-igem logo"/ border="0"></a> |
</div> | </div> | ||
<div id="main2"> | <div id="main2"> | ||
Line 412: | Line 564: | ||
<ul id="sidebarmenu1"> | <ul id="sidebarmenu1"> | ||
<li><a href="https://2011.igem.org/Team:Northwestern/Project/Introduction">Introduction</a></li> | <li><a href="https://2011.igem.org/Team:Northwestern/Project/Introduction">Introduction</a></li> | ||
- | <li><a href="https://2011.igem.org/Team:Northwestern/Background">Background</a></li> | + | <li><a href="https://2011.igem.org/Team:Northwestern/Project/Background">Background</a></li> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/Project/Description">Project Description</a></li> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/Project/Modelling">Modelling</a></li> |
- | + | ||
</div> | </div> | ||
</div> | </div> | ||
- | <h1 class="accordion_toggle"> | + | |
- | <div id="team_img" style="top:0;right:0;margin: - | + | <h1 class="accordion_toggle">RESULTS |
+ | <div id="team_img" style="top:0;right:0;margin: -27px 0px 100px 132px; "><img src="https://static.igem.org/mediawiki/2011/3/30/Parts_btn.gif" width="19" height="21"/> | ||
</div> | </div> | ||
</h1> | </h1> | ||
<div class="accordion_content"> | <div class="accordion_content"> | ||
- | + | <div id="horizontal_container"></div> | |
<div class="sidebarmenu"> | <div class="sidebarmenu"> | ||
- | <ul id="sidebarmenu1"> | + | <ul id="sidebarmenu1"> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/Results/Summary">Summary</a></li> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/Results/Data">Data</a></li> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/Results/Biobricks">Biobricks</a></li> |
+ | </ul> | ||
+ | </div> | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
+ | <h1 class="accordion_toggle">CONSIDERATIONS | ||
+ | <div id="team_img" style="top:0;right:0;margin: -25.5px 0px 100px 133px; "><img src="https://static.igem.org/mediawiki/2011/8/86/Consideration_btn.gif" width="19" height="19"/> | ||
+ | </div> | ||
+ | </h1> | ||
+ | <div class="accordion_content"> | ||
+ | <div class="sidebarmenu"> | ||
+ | <ul id="sidebarmenu1"> | ||
+ | <li><a href="https://2011.igem.org/Team:Northwestern/Considerations/Application">Application</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:Northwestern/Considerations/HumanPractices">Human Practices</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:Northwestern/Considerations/Safety">Safety</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
- | + | <h1 class="accordion_toggle">ABOUT US | |
- | + | <div id="team_img" style="top:0;right:0;margin: -25px 0px 100px 131px; "><img src="https://static.igem.org/mediawiki/2011/0/0a/Team_btn3.gif" width="20" height="19"/> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <h1 class="accordion_toggle"> | + | |
- | <div id="team_img" style="top:0;right:0;margin: - | + | |
</div> | </div> | ||
</h1> | </h1> | ||
<div class="accordion_content"> | <div class="accordion_content"> | ||
- | + | ||
<div class="sidebarmenu"> | <div class="sidebarmenu"> | ||
- | <ul id="sidebarmenu1"> | + | <ul id="sidebarmenu1"> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/AboutUs/Undergrads">Students</a></li> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/AboutUs/Advisers">Advisers</a></li> |
- | <li><a href="https://2011.igem.org/Team:Northwestern/ | + | <li><a href="https://2011.igem.org/Team:Northwestern/AboutUs/Photos">Photo Gallery</a></li> |
- | + | ||
- | + | ||
</div> | </div> | ||
+ | |||
+ | </div> | ||
<h1 class="accordion_toggle">NOTEBOOK | <h1 class="accordion_toggle">NOTEBOOK | ||
Line 468: | Line 627: | ||
<div class="sidebarmenu"> | <div class="sidebarmenu"> | ||
<ul id="sidebarmenu1"> | <ul id="sidebarmenu1"> | ||
+ | <li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Brainstorming">Brainstorming</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Protocols">Protocols</a></li> | ||
<li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week1">Week 1</a></li> | <li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week1">Week 1</a></li> | ||
<li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week2">Week 2</a></li> | <li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week2">Week 2</a></li> | ||
Line 480: | Line 641: | ||
<li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week11">Week 11</a></li> | <li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week11">Week 11</a></li> | ||
<li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week12">Week 12</a></li> | <li><a href="https://2011.igem.org/Team:Northwestern/Notebook/Week12">Week 12</a></li> | ||
- | |||
</ul> | </ul> | ||
</div> | </div> | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<h1 class="accordion_toggle">ATTRIBUTIONS | <h1 class="accordion_toggle">ATTRIBUTIONS |
Latest revision as of 22:37, 26 October 2011