Team:Johns Hopkins/Templates/tpl1

From 2011.igem.org

(Difference between revisions)
 
(105 intermediate revisions not shown)
Line 1: Line 1:
-
__NOTOC__
 
<html>
<html>
<head>
<head>
-
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-
<title>Johns Hopkins University: iGEM 2011</title>
+
<title>VitaYeast - Johns Hopkins University, iGEM 2011</title>
-
<meta name="keywords" content="" />
+
-
<meta name="description" content="" />
+
<link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:Johns_Hopkins/Templates/css/default?action=raw&ctype=text/css" />
<link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:Johns_Hopkins/Templates/css/default?action=raw&ctype=text/css" />
 +
<link rel="stylesheet" href="https://2011.igem.org/Team:Johns_Hopkins/Templates/css/defaultnivo?action=raw&ctype=text/css" type="text/css"/>
 +
<link rel="stylesheet" href="https://2011.igem.org/Team:Johns_Hopkins/Templates/css/nivo?action=raw&ctype=text/css" type="text/css"/>
 +
<link rel="stylesheet" href="https://2011.igem.org/Team:Johns_Hopkins/Templates/gallerifficcss?action=raw&ctype=text/css" type="text/css"/>
 +
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
 +
<script src="https://2011.igem.org/Team:Johns_Hopkins/Templates/droplinemenu?action=raw&ctype=text/javascript" type="text/javascript"></script>
 +
<script type="text/javascript" src="https://2011.igem.org/Team:Johns_Hopkins/Templates/nivosliderpack?action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript" src="https://2011.igem.org/Team:Johns_Hopkins/Templates/hoverintent?action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript" src="https://2011.igem.org/Team:Johns_Hopkins/Templates/galleriffic?action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript" src="https://2011.igem.org/Team:Johns_Hopkins/Templates/js/opacityrollover?action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript" src="https://2011.igem.org/Team:Johns_Hopkins/Templates/js/jqueryhistory?action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript" src="https://2011.igem.org/Team:Johns_Hopkins/Templates/js/profile?action=raw&ctype=text/javascript"></script>
 +
<script type="text/javascript"
 +
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
 +
</script>
<script type="text/javascript">
<script type="text/javascript">
-
//DD Tab Menu- Script rewritten April 27th, 07: http://www.dynamicdrive.com //**Updated Feb 23rd, 08): Adds ability for menu to revert back to default selected tab when mouse moves out of menu
+
//build menu with DIV ID="myslidemenu" on page:
-
//Only 2 configuration variables below:
+
droplinemenu.buildmenu("mydroplinemenu")
-
var ddtabmenu={ disabletablinks: false, //Disable hyperlinks in 1st level tabs with sub contents (true or false)? snap2original: [true, 300], //Should tab revert back to default selected when mouse moves out of menu? ([true/false, delay_millisec]
+
 
-
currentpageurl: window.location.href.replace("http://"+window.location.hostname, "").replace(/^\//, ""), //get current page url (minus hostname, ie: http://www.dynamicdrive.com/)
+
//Nivoslider
-
definemenu:function(tabid, dselected){ this[tabid+"-menuitems"]=null this[tabid+"-dselected"]=-1 this.addEvent(window, function(){ddtabmenu.init(tabid, dselected)}, "load") },
+
    $(window).load(function() {
-
showsubmenu:function(tabid, targetitem){ var menuitems=this[tabid+"-menuitems"] this.clearrevert2default(tabid)
+
        $('#slider').nivoSlider({
-
for (i=0; i<menuitems.length; i++){
+
effect:'fade',
-
menuitems[i].className="" if (typeof menuitems[i].hasSubContent!="undefined") document.getElementById(menuitems[i].getAttribute("rel")).style.display="none" } targetitem.className="current" if (typeof targetitem.hasSubContent!="undefined") document.getElementById(targetitem.getAttribute("rel")).style.display="block" },
+
pauseOnHover:true
-
isSelected:function(menuurl){ var menuurl=menuurl.replace("http://"+menuurl.hostname, "").replace(/^\//, "") return (ddtabmenu.currentpageurl==menuurl) },
+
});
-
isContained:function(m, e){ var e=window.event || e var c=e.relatedTarget || ((e.type=="mouseover")? e.fromElement : e.toElement) while (c && c!=m)try {c=c.parentNode} catch(e){c=m} if (c==m) return true else return false },
+
    });
-
revert2default:function(outobj, tabid, e){ if (!ddtabmenu.isContained(outobj, tabid, e)){ window["hidetimer_"+tabid]=setTimeout(function(){ ddtabmenu.showsubmenu(tabid, ddtabmenu[tabid+"-dselected"]) }, ddtabmenu.snap2original[1]) } },
+
 
-
clearrevert2default:function(tabid){
+
//Profile script from http://www.willmaster.com/library/web-development/replace-div-content.php
-
if (typeof window["hidetimer_"+tabid]!="undefined")
+
function ReplaceContentInContainer(id,content) {
-
clearTimeout(window["hidetimer_"+tabid]) },
+
var container = document.getElementById(id);
-
addEvent:function(target, functionref, tasktype){ //assign a function to execute to an event handler (ie: onunload) var tasktype=(window.addEventListener)? tasktype : "on"+tasktype if (target.addEventListener) target.addEventListener(tasktype, functionref, false) else if (target.attachEvent) target.attachEvent(tasktype, functionref) },
+
container.innerHTML = content;
-
init:function(tabid, dselected){ var menuitems=document.getElementById(tabid).getElementsByTagName("a") this[tabid+"-menuitems"]=menuitems for (var x=0; x<menuitems.length; x++){ if (menuitems[x].getAttribute("rel")){ this[tabid+"-menuitems"][x].hasSubContent=true if (ddtabmenu.disabletablinks) menuitems[x].onclick=function(){return false} if (ddtabmenu.snap2original[0]==true){ var submenu=document.getElementById(menuitems[x].getAttribute("rel")) menuitems[x].onmouseout=function(e){ddtabmenu.revert2default(submenu, tabid, e)} submenu.onmouseover=function(){ddtabmenu.clearrevert2default(tabid)} submenu.onmouseout=function(e){ddtabmenu.revert2default(this, tabid, e)} } } else //for items without a submenu, add onMouseout effect menuitems[x].onmouseout=function(e){this.className=""; if (ddtabmenu.snap2original[0]==true) ddtabmenu.revert2default(this, tabid, e)} menuitems[x].onmouseover=function(){ddtabmenu.showsubmenu(tabid, this)} if (dselected=="auto" && typeof setalready=="undefined" && this.isSelected(menuitems[x].href)){ ddtabmenu.showsubmenu(tabid, menuitems[x]) this[tabid+"-dselected"]=menuitems[x] var setalready=true } else if (parseInt(dselected)==x){ ddtabmenu.showsubmenu(tabid, menuitems[x]) this[tabid+"-dselected"]=menuitems[x] } } } }
+
}
-
ddtabmenu.definemenu("mainmenu", 0)
 
</script>
</script>
</head>
</head>
-
 
<body>
<body>
-
 
+
<div id="banner">
-
<div id="outer">
+
<a href="https://2011.igem.org/Team:Johns_Hopkins"><img src="https://static.igem.org/mediawiki/2011/e/e9/Jhuigemlogo.png"></a>
-
 
+
                        <a href="https://2011.igem.org/"><img src="http://upload.wikimedia.org/wikipedia/en/d/d6/IGEM_official_logo.png" align="right" height="50"/></a>
-
<div id="upbg"></div>
+
</div>
-
 
+
<div id="mydroplinemenu" class="droplinebar">
-
<div id="inner">
+
<ul>
-
 
+
<li><a href="#">Team</a>
-
<div id="header">
+
                  <ul>
-
<h1>Vitayeast</h1>
+
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Team/Members">Members</a></li>
-
<h2>Johns Hopkins University</h2>
+
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Team/Acknowledgements">Acknowledgements</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Team/Advisors">Advisors</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Team/Sponsors">Sponsors</a></li>
 +
                  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Team/Attributions">Attributions</a></li>
 +
                  <li><a href="/Team:Johns_Hopkins/Team/Gallery">Gallery</a></li>
 +
  </ul>
 +
                </li>
 +
<li><a href="#">Vitamins</a>
 +
  <ul>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Vit/Bg">Background</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Vit/Over">Overview</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Project/VitA">Vitamin A</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Project/VitC">Vitamin C</a></li>
 +
                  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Project/MeasureQuant">Measurements</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Project/Baking">Applications</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Vit/Results">Results</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Vit/Future">Future Plans</a></li>
 +
  </ul>
 +
</li>
 +
<li><a href="#">Yeast Toolkit</a>
 +
  <ul>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/YT/Bg">Background</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/YT/Over">Overview</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Project/PromUTR">Promoters and UTRs</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Project/Violacein">Violacein</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Project/Vector">Yeast Vector Library</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/YT/Results">Results</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/YT/Future">Future Plans</a></li>
 +
  </ul>
 +
</li>
 +
<li><a href="#">Human Practices</a>
 +
  <ul>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/HumanPrac">Overview</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/IRBProcess">IRB Approval</a></li>
 +
  </ul> </li>
 +
                <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Data">Data</a></li>
 +
<li><a href="#">Modeling</a>
 +
  <ul>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Modeling/Platforms">Platform</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Modeling/LBSMod">LBS Models</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Modeling/Opt">Optimization</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Modeling/Sensitivity">Sensitivity</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Modeling/ParaFit">Parameter Fitting</a></li>
 +
  </ul>
 +
</li>
 +
<li><a href="#">Notebook</a>
 +
  <ul>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Notebook/Protocols">Protocols</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Notebook/VitExperiments">Vitamin Experiments</a></li>
 +
  <li><a href="https://2011.igem.org/Team:Johns_Hopkins/Notebook/YTExperiments">Yeast Toolkit Experiments</a></li>
 +
  </ul>
 +
</li>
 +
<li><a href="https://2011.igem.org/Team:Johns_Hopkins/Safety">Safety</a></li>
 +
</ul>
</div>
</div>
-
 
-
<div id="splash"></div>
 
-
 
-
<div id="menu">
 
-
                        <div id="mainmenu">
 
-
<ul>
 
-
<li class="first"><a href="#" rel="tab1">Home</a></li>
 
-
<li><a href="#" rel="tab2">Team</a></li>
 
-
                                <li><a href="#" rel="tab3">Human Practices</a></li>
 
-
<li><a href="#" rel="tab4">Projects</a></li>
 
-
<li><a href="#" rel="tab5">Parts</a></li>
 
-
<li><a href="#" rel="tab6">Modeling</a></li>
 
-
<li><a href="#" rel="tab7">Software</a></li>
 
-
                                <li><a href="#" rel="tab8">Notebook</a></li>
 
-
                                <li><a href="#" rel="tab9">Safety</a></li>
 
-
 
-
</ul>
 
-
                        </div>
 
-
                        <DIV class="tabcontainer">
 
-
 
-
                                <div id="tab1" class="tabcontent">
 
-
                                <ul>
 
-
                                </ul>
 
-
                                </div>
 
-
 
-
                                <div id="tab2" class="tabcontent">
 
-
                                <ul>
 
-
                                </ul>
 
-
                                </div>
 
-
 
-
                                <div id="tab3" class="tabcontent">
 
-
                                Substuff
 
-
                                </div>
 
-
 
-
                        </DIV>
 
-
 
-
                </div>
 

Latest revision as of 03:15, 29 October 2011

VitaYeast - Johns Hopkins University, iGEM 2011