Team:TU Delft/test

From 2010.igem.org

(Difference between revisions)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<html>
<html>
-
 
+
<style>
 +
table {
 +
margin: 0;
 +
padding: 0;
 +
font-size: 11px;
 +
border: 1px solid #000;
 +
}
 +
table td {
 +
padding: 5px;
 +
}
 +
table .head {
 +
background-color: #216085 ;
 +
font-weight: bold;
 +
color: #fff;
 +
}
 +
table .odd {
 +
background-color: #d0f1fa;
 +
}
 +
</style>
<!--
<!--
Line 24: Line 42:
<!-- Internet Explorer PNG fix - START /-->
<!-- Internet Explorer PNG fix - START /-->
-
<!--[if lt IE 8]>
+
<!--[if lt IE 7]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js">IE7_PNG_SUFFIX=".png";</script>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js">IE7_PNG_SUFFIX=".png";</script>
<![endif]-->
<![endif]-->
Line 48: Line 66:
   var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
   var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
   if(is_chrome) console.log(msg);
   if(is_chrome) console.log(msg);
 +
}
 +
 +
function updateContentEditLink() {
 +
if (!wgUserName) {
 +
return;
 +
}
 +
 +
var page = currentPage ? currentPage : 'Home';
 +
var url = location.pathname + '/' + page + '?action=edit';
 +
$("#edit_content_link").attr('href', url);
 +
// $("#edit_content_link").click(function() {
 +
// $("#iGEM_TU_Delft_container").html('<iframe src="'+url+'" width="100%" height="100%"></iframe>');
 +
// });
}
}
// Set document ready callback
// Set document ready callback
$(function() {
$(function() {
 +
if (wgUserName) {
 +
// Create content edit link
 +
$(".left-menu ul > *:last").after('<li><a id="edit_content_link">edit content</a></li>');
 +
updateContentEditLink();
 +
}
 +
// Initialize history plugin.
// Initialize history plugin.
$(window).hashchange(historyCallback);
$(window).hashchange(historyCallback);
Line 121: Line 158:
function loadPage(page)
function loadPage(page)
{
{
 +
var showLoadAnim = !!currentPage;
currentPage = page;
currentPage = page;
var url = wgServer + "/Team:TU_Delft/" + page + "?action=render";
var url = wgServer + "/Team:TU_Delft/" + page + "?action=render";
$(window).trigger('page_close');
$(window).trigger('page_close');
-
if(!loading_home) {
+
if(showLoadAnim) {
$("#TUD-loading-panel").show();
$("#TUD-loading-panel").show();
-
$("#loading-overlay").show();
+
//$("#loading-overlay").show();
 +
$("#iGEM_TU_Delft_container").fadeTo(200,0.25);
 +
$('html, body').animate({scrollTop:0}, 'slow');
}
}
loading_home = false;
loading_home = false;
Line 135: Line 175:
$(window).trigger('page_init');
$(window).trigger('page_init');
rewriteLinks($("#iGEM_TU_Delft_container"));
rewriteLinks($("#iGEM_TU_Delft_container"));
 +
updateContentEditLink();
 +
$("#iGEM_TU_Delft_container").fadeTo(200,1);
next();
next();
}
}
$.get(url, function(data) {
$.get(url, function(data) {
-
// $("#iGEM_TU_Delft_container").fadeOut(200);
 
$("#iGEM_TU_Delft_container").html(data).queue(processPage);
$("#iGEM_TU_Delft_container").html(data).queue(processPage);
buildBreadCrumbTrail(page);  
buildBreadCrumbTrail(page);  
Line 169: Line 210:
}
}
} else {
} else {
-
loading_home = true;
 
setHash('Home');
setHash('Home');
}
}
Line 199: Line 239:
   jsddm_canceltimer();
   jsddm_canceltimer();
   jsddm_close();
   jsddm_close();
-
   ddmenuitem = $(this).find('ul').css('visibility', 'visible');
+
   ddmenuitem = $(this).find('ul').css('display', 'block');
 +
//ddmenuitem = $(this).find('ul').show(200);
}
}
function jsddm_close() {
function jsddm_close() {
-
   if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');
+
   if(ddmenuitem) ddmenuitem.css('display', 'none');
 +
//if(ddmenuitem) ddmenuitem.hide();
}
}
Line 512: Line 554:
#navlist li ul {
#navlist li ul {
position: absolute;
position: absolute;
-
visibility: hidden;
+
display:none;
background-color: #fff;
background-color: #fff;
padding:0;
padding:0;
Line 566: Line 608:
<div id="TUD-loading-panel-logo">
<div id="TUD-loading-panel-logo">
<!-- yes im using center -->
<!-- yes im using center -->
-
<center><img width="100" height="120" src="https://static.igem.org/mediawiki/2010/d/d8/TUDelft_2010_AlkanivoreAnimated.gif"></img></center>
+
<center><img width="100" height="120" src="https://static.igem.org/mediawiki/2010/d/d8/TUDelft_2010_AlkanivoreAnimated.gif" /> <h2>Loading...</h2></center>
</div>
</div>
</div>
</div>
Line 575: Line 617:
<div id="TUD-content-wrapper">
<div id="TUD-content-wrapper">
<div id="TUD-header">
<div id="TUD-header">
-
<h1 class="TUD-logo"><span>TU Delft iGEM Team 2010</span></h1>
+
<style>
 +
a.nohover:hover {
 +
text-decoration: none;
 +
}
 +
</style>
 +
<a class="nohover" href="https://2010.igem.org/Team:TU_Delft"><h1 class="TUD-logo"><span>TU Delft iGEM Team 2010</span></h1></a>
<span id="back_to_igem"><a href="https://2010.igem.org/" alt="back to 2010.igem.org" title="back to 2010.igem.org"><img src="https://static.igem.org/mediawiki/2010/3/32/TU_Delft_back_to_igem.png" border="0" /></a></span>
<span id="back_to_igem"><a href="https://2010.igem.org/" alt="back to 2010.igem.org" title="back to 2010.igem.org"><img src="https://static.igem.org/mediawiki/2010/3/32/TU_Delft_back_to_igem.png" border="0" /></a></span>
</div>
</div>
Line 585: Line 632:
<ul>
<ul>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team/members" title="Members">Members</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team/members" title="Members">Members</a></li>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team/organization" title="Organization">Organization</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team/university" title="University">University</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team/university" title="University">University</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team/previous-teams" title="Previous Teams">Previous Teams</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Team/previous-teams" title="Previous Teams">Previous Teams</a></li>
Line 595: Line 644:
<li><a class="menubutton" id="project" href="https://2010.igem.org/Team:TU_Delft#page=Project" title="Project">Project</a>
<li><a class="menubutton" id="project" href="https://2010.igem.org/Team:TU_Delft#page=Project" title="Project">Project</a>
<ul>
<ul>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/abstract" title="Abstract">Abstract</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/introduction" title="Introduction">Introduction</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/introduction" title="Introduction">Introduction</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/alkane-degradation" title="Alkane Degradation">Alkane Degradation</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/alkane-degradation" title="Alkane Degradation">Alkane Degradation</a></li>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/tolerance" title="Salt & Solvent Tolerance">Salt &amp; Solvent Tolerance</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/sensing" title="Hydrocarbon Sensing">Sensing</a></li>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/solubility" title="Emulsification">Emulsification</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/tolerance" title="Survival">Survival</a></li>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/sensing" title="Hydrocarbon Sensing">Hydrocarbon Sensing</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/solubility" title="Emulsification">Solubility</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/rbs-characterization" title="RBS Characterization">RBS Characterization</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/rbs-characterization" title="RBS Characterization">RBS Characterization</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/conclusions" title="General Conclusions">General Conclusions</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Project/conclusions" title="General Conclusions">General Conclusions</a></li>
Line 608: Line 657:
<li><a class="menubutton" id="insilico" href="https://2010.igem.org/Team:TU_Delft#page=Notebook" title="Notebook">Notebook</a>
<li><a class="menubutton" id="insilico" href="https://2010.igem.org/Team:TU_Delft#page=Notebook" title="Notebook">Notebook</a>
<ul>
<ul>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Notebook" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Notebook/blog" title="Blog">Blog</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Notebook/blog" title="Blog">Blog</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Notebook/timeline" title="Timeline">Timeline</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Notebook/timeline" title="Timeline">Timeline</a></li>
Line 617: Line 667:
<li><a class="menubutton" id="parts" href="https://2010.igem.org/Team:TU_Delft#page=Parts" title="Parts">Parts</a>
<li><a class="menubutton" id="parts" href="https://2010.igem.org/Team:TU_Delft#page=Parts" title="Parts">Parts</a>
<ul>
<ul>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Parts" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Parts/biobricks" title="BioBricks">BioBricks</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Parts/biobricks" title="BioBricks">BioBricks</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Parts/characterization" title="Characterization">Characterization</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Parts/characterization" title="Characterization">Characterization</a></li>
Line 623: Line 674:
<li><a class="menubutton" id="insilico" href="https://2010.igem.org/Team:TU_Delft#page=Modeling" title="In Silico">In Silico</a>
<li><a class="menubutton" id="insilico" href="https://2010.igem.org/Team:TU_Delft#page=Modeling" title="In Silico">In Silico</a>
<ul>
<ul>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/MFA" title="MFA">MFA</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/MFA" title="MFA">MFA</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/HC_regulation" title="Hydrocarbon Regulation">Hydrocarbon Regulation</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/HC_regulation" title="Hydrocarbon Regulation">Hydrocarbon Regulation</a></li>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/Protein-production-model" title="Protein Production Model">Protein Production Model</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/interaction-mapping" title="Software Tool">Interaction Mapping</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/interaction-mapping" title="Software Tool">Interaction Mapping</a></li>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Software/part-search" title="Part search server & iPhone app">Part search server & iPhone app</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/wiki-tips-tricks" title="Wiki tips & tricks">Wiki Tips &amp; Tricks</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Modeling/wiki-tips-tricks" title="Wiki tips & tricks">Wiki Tips &amp; Tricks</a></li>
</ul>
</ul>
Line 631: Line 685:
<li><a class="menubutton" id="safety" href="https://2010.igem.org/Team:TU_Delft#page=Safety" title="Safety">Safety</a>
<li><a class="menubutton" id="safety" href="https://2010.igem.org/Team:TU_Delft#page=Safety" title="Safety">Safety</a>
<ul>
<ul>
-
 
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Safety" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Safety/in-the-lab" title="Biosafety">Biosafety in the lab</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Safety/in-the-lab" title="Biosafety">Biosafety in the lab</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Safety/society" title="Safety for Society">Safety for Society</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Safety/society" title="Safety for Society">Safety for Society</a></li>
</ul>
</ul>
</li>
</li>
-
<li><a class="menubutton" id="education" href="https://2010.igem.org/Team:TU_Delft#page=Education" title="Education">Education</a>
+
<li><a class="menubutton" id="humanpractice" href="https://2010.igem.org/Team:TU_Delft#page=Human-practice" title="Human Practice">Human Practice</a>
<ul>
<ul>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Education/nanopodium" title="Nanopodium">Nanopodium</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Human-practice" title="Overview">Overview</a></li>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Education/game" title="Game">iGEM Game</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=EPAC" title="EPAC">EPAC</a></li>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Education/science-museum" title="Science Museum">Science Museum</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Education" title="Education">Education</a></li>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Perception" title="Perception">Perception</a></li>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Awareness" title="Awareness">Awareness</a></li>
</ul>
</ul>
</li>
</li>
<li><a class="menubutton" id="publicity" href="https://2010.igem.org/Team:TU_Delft#page=Publicity" title="Publicity">Publicity</a>
<li><a class="menubutton" id="publicity" href="https://2010.igem.org/Team:TU_Delft#page=Publicity" title="Publicity">Publicity</a>
<ul>
<ul>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Publicity/in-the-news" title="In The News">In the News</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Publicity" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Publicity/communication_plan" title="Communication Plan">Communication Plan</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Publicity/communication_plan" title="Communication Plan">Communication Plan</a></li>
-
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Publicity/articles" title="Articles">Articles</a></li>
+
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Publicity/in-the-news" title="In The News">In the News</a></li>
 +
<!-- <li><a href="https://2010.igem.org/Team:TU_Delft#page=Publicity/articles" title="Articles">Articles</a></li> /-->
</ul>
</ul>
</li>
</li>
<li><a class="menubutton" id="collaboration" href="https://2010.igem.org/Team:TU_Delft#page=Collaboration" title="Collaboration">Collaboration</a>
<li><a class="menubutton" id="collaboration" href="https://2010.igem.org/Team:TU_Delft#page=Collaboration" title="Collaboration">Collaboration</a>
<ul>
<ul>
 +
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Collaboration" title="Overview">Overview</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Collaboration/sponsors" title="Sponsors">Sponsors</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Collaboration/sponsors" title="Sponsors">Sponsors</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Collaboration/igem-teams" title="iGEM Teams">iGEM Teams</a></li>
<li><a href="https://2010.igem.org/Team:TU_Delft#page=Collaboration/igem-teams" title="iGEM Teams">iGEM Teams</a></li>
Line 669: Line 727:
<div id="iGEM_TU_Delft_container">
<div id="iGEM_TU_Delft_container">
</div>
</div>
-
 
-
 
</div>
</div>
</div>
</div>

Revision as of 18:50, 25 October 2010