Team:Groningen/Templates/NavigationbarII

From 2013.igem.org

(Difference between revisions)
Line 120: Line 120:
   
   
.accordion li:target > .sub-menu {
.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 143: Line 135:
<li id="two" class="files"><a href="#two">Team</a>
<li id="two" class="files"><a href="#two">Team</a>
   
   
-
   <ul class="sub-menu" id="sub-menu5">
+
   <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 154: Line 146:
<li id="three" class="files"><a href="#three">Spider silk</a>
<li id="three" class="files"><a href="#three">Spider silk</a>
   
   
-
<ul class="sub-menu" id="sub-menu3">
+
<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 162: Line 154:
<li id="four" class="sign"><a href="#four">Project</a>
<li id="four" class="sign"><a href="#four">Project</a>
-
<ul class="sub-menu" id="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 191: Line 183:
<li id="nine" class="sign"><a href="#nine">Outreach</a>
<li id="nine" class="sign"><a href="#nine">Outreach</a>
-
<ul class="sub-menu" id="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>

Revision as of 20:24, 4 October 2013