Team:Groningen/Templates/NavigationbarII

From 2013.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 119: Line 119:
}
}
   
   
-
.accordion li:target > .sub-menu2 {
+
.accordion li:target > .sub-menu {
-
     height: 98px;
+
     height: 100%;
-
}
+
-
.accordion li:target > .sub-menu3 {
+
-
    height: 147px;
+
-
}
+
-
.accordion li:target > .sub-menu4 {
+
-
    height: 196px;
+
-
}
+
-
.accordion li:target > .sub-menu5 {
+
-
    height: 245px;
+
}
}
 +
Source: http://designmodo.com/css3-accordion-menu/#ixzz2gmcjwHdy
Source: http://designmodo.com/css3-accordion-menu/#ixzz2gmcjwHdy
Line 141: Line 133:
<li id="one" class="files"><a href="https://2013.igem.org/Team:Groningen">Home</a>
<li id="one" class="files"><a href="https://2013.igem.org/Team:Groningen">Home</a>
   
   
-
<li id="two" class="files"><a href="#two">Team</a>
+
<li id="two" class="files"><a href="#two" target="_top">Team</a>
   
   
-
   <ul class="sub-menu">
+
   <ul class="sub-menu" >
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Team" >Team</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Team" >Team</a></li>
         <li><a href="https://igem.org/Team.cgi?id=1085" target="_blank" >Official profile</a></li>
         <li><a href="https://igem.org/Team.cgi?id=1085" target="_blank" >Official profile</a></li>
Line 152: Line 144:
</li>
</li>
-
<li id="three" class="files"><a href="#three">Spider silk</a>
+
<li id="three" class="files"><a href="#three" target="_top">Spider silk</a>
   
   
-
<ul class="sub-menu">
+
<ul class="sub-menu" >
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Background">Background</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Background">Background</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/BiomedicalProperties">Biomedical    <br>Properties</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/BiomedicalProperties">Biomedical    <br>Properties</a></li>
Line 161: Line 153:
</li>
</li>
-
<li id="four" class="sign"><a href="#four">Project</a>
+
<li id="four" class="sign"><a href="#four" target="_top">Project</a>
-
<ul class="sub-menu5">
+
<ul class="sub-menu" >
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Project">Project</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Project">Project</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Construct">Backbone</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Construct">Backbone</a></li>
Line 172: Line 164:
</li>
</li>
   
   
-
<li id="five" class="sign"><a href="#five">Wet Lab</a>
+
<li id="five" class="sign"><a href="#five" target="_top">Wet Lab</a>
-
<ul class="sub-menu2">
+
<ul class="sub-menu">
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/experiments">Experiments</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/experiments">Experiments</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Protocols">Protocols</a></li>  
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Protocols">Protocols</a></li>  
Line 179: Line 171:
</li>
</li>
-
<li id="six" class="sign"><a href="#Six">Modeling</a>
+
<li id="six" class="sign"><a href="six" target="_top" >Modeling</a>
-
<ul class="sub-menu2">
+
<ul class="sub-menu">
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Codonoptimization">Codon optimization</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Codonoptimization">Codon optimization</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Heatmotility"">Heat Motility</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Heatmotility"">Heat Motility</a></li>
Line 190: Line 182:
<li id="eight" class="sign"><a href="https://2013.igem.org/Team:Groningen/Navigation/Parts">Submitted Parts</a></li>
<li id="eight" class="sign"><a href="https://2013.igem.org/Team:Groningen/Navigation/Parts">Submitted Parts</a></li>
-
<li id="nine" class="sign"><a href="#nine">Outreach</a>
+
<li id="nine" class="sign"><a href="#nine" target="_top">Outreach</a>
-
<ul class="sub-menu4">
+
<ul class="sub-menu" >
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/noas">Night of <br>Art & Science</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/noas">Night of <br>Art & Science</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Indiansummer">Indian summer</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Indiansummer">Indian summer</a></li>
Line 199: Line 191:
</li>
</li>
-
<li id="ten" class="sign"><a href="#ten">Achievements</a>
+
<li id="ten" class="sign"><a href="#ten" target="_top">Achievements</a>
-
<ul class="sub-menu2">
+
<ul class="sub-menu">
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Medals">Medal fulfillment</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Medals">Medal fulfillment</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/PartsCollaboration">Collaboration</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/PartsCollaboration">Collaboration</a></li>
Line 208: Line 200:
<li id="eleven" class="sign"><a href="https://2013.igem.org/Team:Groningen/Navigation/Safety">Safety</a></li>
<li id="eleven" class="sign"><a href="https://2013.igem.org/Team:Groningen/Navigation/Safety">Safety</a></li>
-
<li id="twelve" class="sign"><a href="#twelve">Sponsors</a>
+
<li id="twelve" class="sign"><a href="#twelve" target="_top">Sponsors</a>
-
<ul class="sub-menu2">
+
<ul class="sub-menu">
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Sponsors">Sponsors</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Sponsors">Sponsors</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Donations">How to donate</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Donations">How to donate</a></li>

Latest revision as of 20:35, 4 October 2013