Team:Groningen/Templates/Navigationbar

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script type="text/javascript">
 
-
  $(document).ready(function() {
 
-
    $('#accordion li').each(function() {
 
-
      var li = $(this);
 
-
      var a = $('a', li);
 
-
      if(/* compare the href of the 'a' element to the current URL */) {
 
-
        li.addClass('active');
 
-
      }
 
-
    });
 
-
  });
 
-
</script>
 
-
 
<style>
<style>
.accordion,
.accordion,
Line 143: Line 131:
<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" class="navigation"><a href="#">Team</a>
+
<li id="two" class="files" class="navigation"><a href="#two">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#two">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>
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Acknowledgements" >Acknowledgements</a></li>
+
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Acknowledgements#two" >Acknowledgements</a></li>
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Attributions" >Attributions</a></li>
+
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Attributions#two" >Attributions</a></li>
-
         <li><a href="https://2013.igem.org/Team:Groningen/photos" >Gallery</a></li>
+
         <li><a href="https://2013.igem.org/Team:Groningen/photos#two" >Gallery</a></li>
   </ul>
   </ul>
</li>
</li>

Revision as of 22:06, 4 October 2013