Template:HeaderGroningen2011

From 2011.igem.org

(Difference between revisions)
 
(67 intermediate revisions not shown)
Line 3: Line 3:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<head>
-
        <link rel="stylesheet"href="https://2011.igem.org/Team:Groningen/style.css?action=raw&amp;ctype=text/css"/>
+
     
-
/***********************************************
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
-
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
+
<script type="text/javascript" src="http://igem.molgenrug.nl/igem2011/ddaccordion.js"></script>
-
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
+
-
* This notice must stay intact for legal use
+
-
***********************************************/
+
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+
<script type="text/javascript" src="js/prototype.js"></script>
-
<script type="text/javascript" src="http://www.dynamicdrive.com/dynamicindex17/ddaccordion.js"></script>
+
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
 +
<script type="text/javascript" src="js/lightbox.js"></script>
 +
 +
<link rel="stylesheet"href="https://2011.igem.org/Team:Groningen/style.css?action=raw&amp;ctype=text/css"/>
 +
<link rel="stylesheet"href="https://2011.igem.org/Team:Groningen/style_lightbox.css"action=raw&amp;ctype=text/css"/>
Line 30: Line 31:
persiststate: true,          //persist state of opened contents within browser session?
persiststate: true,          //persist state of opened contents within browser session?
toggleclass: ["", ""],        //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
toggleclass: ["", ""],        //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
-
togglehtml: ["suffix", "<img src='plus.gif' class='statusicon' />", "<img src='minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
+
togglehtml: ["suffix", "<img src='https://static.igem.org/mediawiki/2011/a/a7/Groningen2011menuplus.png' class='statusicon' />", "<img src='https://static.igem.org/mediawiki/2011/5/52/Groningen2011menuminus.png' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
animatespeed: "fast",          //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
animatespeed: "fast",          //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
Line 44: Line 45:
<style type="text/css">
<style type="text/css">
 +
 +
/***********************************************
 +
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
 +
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
 +
* This notice must stay intact for legal use
 +
***********************************************/
.glossymenu{
.glossymenu{
margin: 5px 0;
margin: 5px 0;
padding: 0;
padding: 0;
-
width: 170px; /*width of menu*/
+
width: 230px; /*width of menu*/
-
border: 1px solid #9A9A9A;
+
border: 0px solid #c0c0c0;
-
border-bottom-width: 0;
+
border-bottom-width: 1px;
}
}
.glossymenu a.menuitem{
.glossymenu a.menuitem{
-
background: black url(glossyback.gif) repeat-x bottom left;
+
background: black url(https://static.igem.org/mediawiki/2011/f/f9/Groningen2011menuglossyback.png) repeat-x bottom left;
-
font: bold 14px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
+
font: bold 14px sans-serif;
color: white;
color: white;
display: block;
display: block;
Line 78: Line 85:
.glossymenu a.menuitem:hover{
.glossymenu a.menuitem:hover{
-
background-image: url(glossyback2.gif);
+
background-image: url(https://static.igem.org/mediawiki/2011/8/80/Groningen2011menuglossybackdark.png);
}
}
.glossymenu div.submenu{ /*DIV that contains each sub menu*/
.glossymenu div.submenu{ /*DIV that contains each sub menu*/
-
background: white;
+
    background-color:transparent;
 +
    background-image:url(https://static.igem.org/mediawiki/2011/b/b8/Groningen2011transparantback.png);
}
}
.glossymenu div.submenu ul{ /*UL of each sub menu*/
.glossymenu div.submenu ul{ /*UL of each sub menu*/
list-style-type: none;
list-style-type: none;
-
margin: 0;
+
list-style-image: none;
 +
margin: 0 0 0 0;
padding: 0;
padding: 0;
}
}
.glossymenu div.submenu ul li{
.glossymenu div.submenu ul li{
-
border-bottom: 1px solid blue;
+
border-bottom: 1px dotted darkgrey;
 +
 
}
}
.glossymenu div.submenu ul li a{
.glossymenu div.submenu ul li a{
display: block;
display: block;
-
font: normal 13px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
+
font: normal 13px sans-serif;
color: black;
color: black;
text-decoration: none;
text-decoration: none;
-
padding: 2px 0;
+
padding: 2px 0px;
padding-left: 10px;
padding-left: 10px;
}
}
.glossymenu div.submenu ul li a:hover{
.glossymenu div.submenu ul li a:hover{
-
background: #DFDCCB;
+
background: white;
-
colorz: white;
+
}
}
Line 115: Line 124:
<body>
<body>
 +
 +
<div id="Gwrapper">
<div id="Gwrapper">
<div id="Gmenu">
<div id="Gmenu">
<div class="glossymenu">
<div class="glossymenu">
-
<a class="menuitem" href="http://www.dynamicdrive.com/">Dynamic Drive</a>
+
<a class="menuitem" href="https://2011.igem.org/Team:Groningen">Groningen home page</a>
-
<a class="menuitem submenuheader" href="http://www.dynamicdrive.com/style/" >CSS Examples</a>
+
<a class="menuitem submenuheader" href="https://2011.igem.org/Team:Groningen/team">Team</a>
<div class="submenu">
<div class="submenu">
<ul>
<ul>
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C1/">Horizontal CSS Menus</a></li>
+
<li><a href="https://2011.igem.org/Team:Groningen/team_overview">Team Overview</a></li>
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/">Vertical CSS Menus</a></li>
+
<li><a href="https://2011.igem.org/Team:Groningen/team_gallery">Gallery</a></li>
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C4/">Image CSS</a></li>
+
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C6/">Form CSS</a></li>
+
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C5/">DIVs and containers</a></li>
+
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C7/">Links & Buttons</a></li>
+
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C8/">Other</a></li>
+
-
<li><a href="http://www.dynamicdrive.com/style/csslibrary/all/">Browse All</a></li>
+
</ul>
</ul>
</div>
</div>
-
<a class="menuitem" href="http://www.javascriptkit.com/jsref/">JavaScript Reference</a>
+
<a class="menuitem submenuheader" href="https://2011.igem.org/Team:Groningen/project">Project</a>
-
<a class="menuitem" href="http://www.javascriptkit.com/domref/">DOM Reference</a>
+
-
<a class="menuitem submenuheader" href="http://www.cssdrive.com">CSS Drive</a>
+
<div class="submenu">
<div class="submenu">
<ul>
<ul>
-
<li><a href="http://www.cssdrive.com">CSS Gallery</a></li>
+
<li><a href="https://2011.igem.org/Team:Groningen/project">Introduction</a></li>
-
<li><a href="http://www.cssdrive.com/index.php/menudesigns/">Menu Gallery</a></li>
+
<li><a href="https://2011.igem.org/Team:Groningen/project_description">Description</a></li>
-
<li><a href="http://www.cssdrive.com/index.php/news/">Web Design News</a></li>
+
<li><a href="https://2011.igem.org/Team:Groningen/project_memory_units">Memory units</a></li>
-
<li><a href="http://www.cssdrive.com/index.php/examples/">CSS Examples</a></li>
+
<li><a href="https://2011.igem.org/Team:Groningen/project_AND_gate">AND gate</a></li>
-
<li><a href="http://www.cssdrive.com/index.php/main/csscompressor/">CSS Compressor</a></li>
+
<li><a href="https://2011.igem.org/Team:Groningen/project_degradation_tags">Degradation tags</a></li>
-
<li><a href="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6">CSS Forums</a></li>
+
</ul>
</ul>
-
<img src="http://i27.tinypic.com/sy7295.gif" style="margin: 10px 5px" />
 
</div>
</div>
-
<a class="menuitem" href="http://www.codingforums.com/" style="border-bottom-width: 0">Coding Forums</a>
+
<a class="menuitem submenuheader" href="https://2011.igem.org/Team:Groningen/project_characterisation">Parts Characterisation</a>
 +
<div class="submenu">
 +
  <ul>
 +
  <li> <a href="https://2011.igem.org/Team:Groningen/project_characterisation_promoters_pbad">pBAD/AraC promoter</a>
 +
  <li> <a href="https://2011.igem.org/Team:Groningen/project_characterisation_promoters_prm">Prm promoter</a>
 +
  <li> <a href="https://2011.igem.org/Team:Groningen/project_characterisation_promoters_hybb">hybB promoter</a>
 +
  <li> <a href="https://2011.igem.org/Team:Groningen/project_characterisation_mu">Lambda cI autoinducing loop family</a>
 +
  <li> <a href="https://2011.igem.org/Team:Groningen/project_characterisation_mu_lasr">LasR autoinducing loop family</a>
 +
</ul>
</div>
</div>
 +
<a class="menuitem submenuheader" href="https://2011.igem.org/Team:Groningen/protocols">Protocols</a>
 +
<div class="submenu">
 +
  <ul>
 +
    <li> <a href="https://2011.igem.org/Team:Groningen/cloning"> Cloning</a>
 +
    <li> <a href="https://2011.igem.org/Team:Groningen/flowcytometry"> Flow cytometry</a>
 +
    <li> <a href="https://2011.igem.org/Team:Groningen/fluorimetry"> Fluorimetry</a>
 +
</div>
 +
<a class="menuitem" href="https://2011.igem.org/Team:Groningen/Data_page">Data page</a>
 +
<a class="menuitem" href="https://2011.igem.org/Team:Groningen/project_notebook">Notebook</a>
 +
<a class="menuitem submenuheader" href="https://2011.igem.org/Team:Groningen/modeling">Modeling</a>
 +
<div class="submenu">
 +
<ul>
 +
<li><a href="https://2011.igem.org/Team:Groningen/modeling_cumulus">Cumulus</a></li>
 +
<li><a href="https://2011.igem.org/Team:Groningen/modeling_vision">Vision</a></li>
 +
        <li><a href="https://2011.igem.org/Team:Groningen/modeling_methods">Considerations</a></li>
 +
        <li><a href="https://2011.igem.org/Team:Groningen/modeling_simulation_engine">Simulation</a></li>
 +
        <li><a href="https://2011.igem.org/Team:Groningen/modeling_genetic_algorithms">Genetic Algorithms</a></li>
 +
        <li><a href="https://2011.igem.org/Team:Groningen/modeling_results">Results</a></li>
 +
        <li><a href="https://2011.igem.org/Team:Groningen/modeling_cumulus2">Cumulus 2.0</a></li>
 +
</ul>
 +
</div>
 +
 +
<a class="menuitem submenuheader" href="https://2011.igem.org/Team:Groningen/human_practices">Human Practice</a>
 +
<div class="submenu">
 +
<ul>
 +
<li><a href="https://2011.igem.org/Team:Groningen/human_practices_education">Education</a></li>
 +
<li><a href="https://2011.igem.org/Team:Groningen/human_practices_song">Song</a></li>
 +
</ul>
 +
</div>
 +
<a class="menuitem" href="https://2011.igem.org/Team:Groningen/safety" style="border-bottom-width: 0">Safety</a>
 +
<a class="menuitem" href="https://2011.igem.org/Team:Groningen/sponsors" style="border-bottom-width: 0">Sponsors</a>
 +
<a class="menuitem" href="https://2011.igem.org/Team:Groningen/attributions " style="border-bottom-width: 0">Attributions</a>
 +
<a class="menuitem" href="https://2011.igem.org/Team:Groningen/judging" style="border-bottom-width: 0">Judging</a>
 +
<a class="menuitem" href="https://2011.igem.org/">iGEM home page</a>
 +
</div>
 +
<div id="igemlogogro">
 +
<a href="http://rug.nl"><img src="https://static.igem.org/mediawiki/2011/4/48/Ruglogo.png" style="padding: 15px;"></a><br/>
 +
<a href="https://2011.igem.org"><img src="https://static.igem.org/mediawiki/2011/e/e0/Igemlogog.png" style="padding: 5px;"></a>
 +
</div>
 +
 +
 +
 +
-
<p>Assuming the current page is named "current.htm", the below links when navigated to expands a particular header on that page:</p>
 
-
<p>
 
-
- <a href="current.htm?submenuheader=0">Expand 1st header within "submenuheader" header group</a><br />
 
-
</p>
 
-
<p>Helpful links: </p>
 
-
<p>
 
-
- <a href="http://www.dynamicdrive.com/dynamicindex17/ddaccordion_suppliment.htm">Adding arbitrary links hat expand/ collapse the contents</a><br />
 
-
- <a href="http://www.dynamicdrive.com/dynamicindex17/ddaccordion_suppliment2.htm">Taking advantage of the oninit() and onopenclose() event handlers</a><br />
 
-
</p>
 

Latest revision as of 22:50, 21 September 2011