Team:TU Delft

From 2010.igem.org

(Difference between revisions)
 
(29 intermediate revisions not shown)
Line 60: Line 60:
// $("#iGEM_TU_Delft_container").html('<iframe src="'+url+'" width="100%" height="100%"></iframe>');
// $("#iGEM_TU_Delft_container").html('<iframe src="'+url+'" width="100%" height="100%"></iframe>');
// });
// });
 +
}
}
Line 117: Line 118:
function include_js(file, cb) {
function include_js(file, cb) {
-
    var html_doc = document.getElementsByTagName('head')[0];
+
var html_doc = document.getElementsByTagName('head')[0];
-
    var js = document.createElement('script');
+
var js = document.createElement('script');
-
    js.setAttribute('type', 'text/javascript');
+
js.setAttribute('type', 'text/javascript');
-
    js.setAttribute('src', file);
+
js.setAttribute('src', file);
-
    html_doc.appendChild(js);
+
html_doc.appendChild(js);
-
    js.onreadystatechange = function () {
+
js.onreadystatechange = function () {
-
        if (js.readyState == 'complete') {
+
if (js.readyState == 'complete')
-
cb();
+
cb();
-
        }
+
}
-
    }
+
-
    js.onload = cb;
+
js.onload = cb;
}
}
Line 137: Line 137:
}
}
-
function loadPage(page)
+
 
 +
function moveToAnchor(anchor) {
 +
try {
 +
var pos = $('#iGEM_TU_Delft_container > a[name='+anchor+']').offset();
 +
dbgout('anchor: '+anchor+';  pos=' + pos.left + ','+pos.top );
 +
window.scroll(pos.left, pos.top);
 +
} catch (err) {
 +
dbgout('moveToAnchor error: ' + err);
 +
}
 +
}
 +
 
 +
 
 +
function loadPage(page, anchor)
{
{
var showLoadAnim = !!currentPage;
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";
 +
if(page.substring(0, 5) == "User:") {
 +
url = wgServer + "/" + page + "?action=render";
 +
}
$(window).trigger('page_close');
$(window).trigger('page_close');
Line 157: Line 172:
rewriteLinks($("#iGEM_TU_Delft_container"));
rewriteLinks($("#iGEM_TU_Delft_container"));
updateContentEditLink();
updateContentEditLink();
-
$("#iGEM_TU_Delft_container").fadeTo(200,1);
+
$("#iGEM_TU_Delft_container").fadeTo(200,1).delay(200).queue(function(n) {
 +
if(anchor) moveToAnchor(anchor); n();
 +
});
next();
next();
}
}
Line 186: Line 203:
if (changepage) {
if (changepage) {
-
loadPage(changepage);
+
loadPage(changepage, kvmap.anchor);
-
} else
+
} else {
 +
if(kvmap.anchor) moveToAnchor(kvmap.anchor);
$(window).trigger('hashupdate');
$(window).trigger('hashupdate');
 +
}
}
}
} else {
} else {
Line 194: Line 213:
}
}
}
}
-
 
function rewriteLinks(elem) {
function rewriteLinks(elem) {
Line 201: Line 219:
var url = this.href;
var url = this.href;
-
if(this.hash)
+
if(this.hash) {
-
this.href = this.hash;
+
var anchor = this.hash.substring(1);
-
else if(txt != "edit")
+
 
 +
if (anchor.substring(0,5)!='page=')
 +
this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor;
 +
} else if(txt != "edit")
this.href = this.href.replace("http://2010.igem.org/Team:TU_Delft/", "#page=");
this.href = this.href.replace("http://2010.igem.org/Team:TU_Delft/", "#page=");
-
// dbgout('rewriting ' + url + ' to ' + this.href);
+
// dbgout('rewriting ' + url + ' to ' + this.href);
});
});
}
}
Line 273: Line 294:
for (count=0;count<(constituentFolders.length);count++)
for (count=0;count<(constituentFolders.length);count++)
{
{
 +
if(constituentFolders[count].substring(0, 5) == "User:") {
 +
outputStr = outputStr + " <span class='doubleright'>&raquo;</span> <a href='http://2010.igem.org/Team:TU_Delft#page=Team/'>Team</a> <span class='doubleright'>&raquo;</span> <a href='http://2010.igem.org/Team:TU_Delft#page=Team/members'>Members</a> <span class='doubleright'>&raquo;</span> <a href='http://2010.igem.org/Team:TU_Delft#page=" + buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" + capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ").substring(5) + "</a>";
 +
}
 +
if(constituentFolders[count].substring(0, 5) !== "User:") {
outputStr=outputStr + " <span class='doubleright'>&raquo;</span> <a href='http://2010.igem.org/Team:TU_Delft#page=" + buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" + capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>";
outputStr=outputStr + " <span class='doubleright'>&raquo;</span> <a href='http://2010.igem.org/Team:TU_Delft#page=" + buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" + capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>";
 +
}
}
}
}
}
Line 558: Line 584:
background-color: #fff;
background-color: #fff;
padding:0;
padding:0;
 +
border: 1px solid #aaa;
z-index:100;
z-index:100;
margin-left: 0px;
margin-left: 0px;
Line 586: Line 613:
background-color: #54c9f5;
background-color: #54c9f5;
text-decoration: underline;
text-decoration: underline;
 +
}
 +
 +
#insilico_menu li a {
 +
width: 230px !important;
}
}
Line 629: Line 660:
<ul id="navlist">
<ul id="navlist">
-
<li><a class="menubutton" id="home" href="http://2010.igem.org/Team:TU_Delft#page=Home" title="Home"><span>Home</span></a></li>
+
<li><a class="menubutton" id="home" href="http://2010.igem.org/Team:TU_Delft/Home" title="Home"><span>Home</span></a></li>
-
<li><a class="menubutton" id="team" href="http://2010.igem.org/Team:TU_Delft#page=Team" title="Team"><span>Team</span></a>
+
<li><a class="menubutton" id="team" href="http://2010.igem.org/Team:TU_Delft/Team" title="Team"><span>Team</span></a>
<ul>
<ul>
Line 641: Line 672:
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Team/movies" title="Movies">Movies</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Team/movies" title="Movies">Movies</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Team/ijam" title="iJAM">iJAM</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Team/ijam" title="iJAM">iJAM</a></li>
 +
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Team/statistics" title="Statistics">Statistics</a></li>
</ul>
</ul>
</li>
</li>
Line 674: Line 706:
</li>
</li>
<li><a class="menubutton" id="insilico" href="http://2010.igem.org/Team:TU_Delft#page=Modeling" title="In Silico">In Silico</a>
<li><a class="menubutton" id="insilico" href="http://2010.igem.org/Team:TU_Delft#page=Modeling" title="In Silico">In Silico</a>
-
<ul>
+
<ul id="insilico_menu">
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling" title="Overview">Overview</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling" title="Overview">Overview</a></li>
-
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/MFA" title="MFA">MFA</a></li>
+
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/MFA" title="MFA">Metabolic Flux Analysis</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/HC_regulation" title="Hydrocarbon Regulation">Hydrocarbon Regulation</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/HC_regulation" title="Hydrocarbon Regulation">Hydrocarbon Regulation</a></li>
-
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/Protein-production-model" title="Protein Production Model">Protein Production Model</a></li>
+
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/protein-production-model" title="Protein production model">Protein production model</a></li>
 +
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/pcaif-model" title="pCaiF CRP sensing model">pCaiF CRP sensing model</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/interaction-mapping" title="Software Tool">Interaction Mapping</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Modeling/interaction-mapping" title="Software Tool">Interaction Mapping</a></li>
<li><a href="http://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="http://2010.igem.org/Team:TU_Delft#page=Software/part-search" title="Part search server & iPhone app">Part search server & iPhone app</a></li>
Line 712: Line 745:
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity" title="Overview">Overview</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity" title="Overview">Overview</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity/communication_plan" title="Communication Plan">Communication Plan</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity/communication_plan" title="Communication Plan">Communication Plan</a></li>
-
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity/in-the-news" title="In The News">In the News</a></li>
+
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity/in-the-news" title="In The News">In the Media</a></li>
<!-- <li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity/articles" title="Articles">Articles</a></li> /-->
<!-- <li><a href="http://2010.igem.org/Team:TU_Delft#page=Publicity/articles" title="Articles">Articles</a></li> /-->
</ul>
</ul>
Line 720: Line 753:
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration" title="Overview">Overview</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration" title="Overview">Overview</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/sponsors" title="Sponsors">Sponsors</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/sponsors" title="Sponsors">Sponsors</a></li>
 +
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/Rathenau Institute" title="Rathenau Institute">Rathenau Institute</a></li>
 +
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/Science Centre Delft" title="Science Centre Delft">Science Centre Delft</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/igem-teams" title="iGEM Teams">iGEM Teams</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/igem-teams" title="iGEM Teams">iGEM Teams</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/acknowledgements" title="Acknowledgements">Acknowledgements</a></li>
<li><a href="http://2010.igem.org/Team:TU_Delft#page=Collaboration/acknowledgements" title="Acknowledgements">Acknowledgements</a></li>
Line 749: Line 784:
Nine students spent their summer in the lab, having fun with digesting, ligating and transforming BioBricks. This wiki is all about the plans, the work and the results. If you can't find what you need, please contact us!
Nine students spent their summer in the lab, having fun with digesting, ligating and transforming BioBricks. This wiki is all about the plans, the work and the results. If you can't find what you need, please contact us!
<div class="br"></div>
<div class="br"></div>
-
<a href="Team">Meet the team</a>
+
<a href="http://2010.igem.org/Team:TU_Delft#page=Team">Meet the team</a>
<br />
<br />
<a href="#top">Back to top</a>
<a href="#top">Back to top</a>

Latest revision as of 01:53, 26 May 2011