Template:Team:Waterloo/Footbar

From 2014.igem.org

(Difference between revisions)
 
(9 intermediate revisions not shown)
Line 27: Line 27:
                 <li><a href="https://2014.igem.org/Team:Waterloo/Translate">Translate</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Translate">Translate</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Safety">Safety</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Safety">Safety</a></li>
-
<li class= "footHeadings"><a href="https://2014.igem.org/Team:Waterloo/Outreach">Outreach</a></li>
+
<li class= "footHeadings"><a href="https://2014.igem.org/Team:Waterloo/Outreach" style="color:#71CCE6;">Outreach</a></li>
</ul>
</ul>
</div>
</div>
Line 35: Line 35:
                 <li><a href="https://2014.igem.org/Team:Waterloo/Biobricks">Biobricks</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Biobricks">Biobricks</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Collaborations">Collaborations</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Collaborations">Collaborations</a></li>
-
                 <li><a href="https://2014.igem.org/Team:Waterloo/Checklist">Checklist & Medal Criteria</a></li>
+
                 <li><a href="https://2014.igem.org/Team:Waterloo/Checklist">Checklist</a></li>
 +
                <li><a href="https://2014.igem.org/Team:Waterloo/Acknowledgements">Acknowledgements</a></li>
<li style="height: 3px;"></li>
<li style="height: 3px;"></li>
<li class= "footHeadings">Team</li>
<li class= "footHeadings">Team</li>
Line 49: Line 50:
                 <li><a href="https://2014.igem.org/Team:Waterloo/Protocols">Protocols</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Protocols">Protocols</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Math_Book">Math Book</a></li>
                 <li><a href="https://2014.igem.org/Team:Waterloo/Math_Book">Math Book</a></li>
-
                <li><a href="https://2014.igem.org/Team:Waterloo/Bibliography">Bibliography</a></li>
 
    </ul>
    </ul>
Line 55: Line 55:
     </div>
     </div>
</div>
</div>
 +
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
 +
<script type="text/javascript">
 +
 +
  //Align headings
 +
  function alignHeadings(){
 +
  var remainingWidth = $("div#topbar").width();
 +
    var allheadings = $("ul#headings >li");
 +
    allheadings.css("display", "block");
 +
    $("ul#shortheadings >li").css("display", "none");
 +
    allheadings.width(remainingWidth / (allheadings.length + 0.5))
 +
      .css({"text-align":"center","line-height":"150%"});
 +
  }
 +
 +
  $(document).ready(alignHeadings);
 +
  $(window).resize(alignHeadings);
 +
</script>
</html>
</html>
{{Template:Team:Waterloo/JS/baseWiki}}
{{Template:Team:Waterloo/JS/baseWiki}}

Latest revision as of 03:03, 18 October 2014