Template:Team:Waterloo/Footbar
From 2014.igem.org
(Difference between revisions)
(Adds links) |
|||
(10 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> | ||
<div id="siteMap2"> | <div id="siteMap2"> | ||
<ul class= "flist"> | <ul class= "flist"> | ||
- | + | <li class= "footHeadings">Accomplishments</li> | |
- | <li><a href="https://2014.igem.org/Team:Waterloo/ | + | <li><a href="https://2014.igem.org/Team:Waterloo/Biobricks">Biobricks</a></li> |
- | <li><a href="https://2014.igem.org/Team:Waterloo/ | + | <li><a href="https://2014.igem.org/Team:Waterloo/Collaborations">Collaborations</a></li> |
- | <li><a href="https://2014.igem.org/Team:Waterloo/ | + | <li><a href="https://2014.igem.org/Team:Waterloo/Checklist">Checklist</a></li> |
- | <li><a href="https://2014.igem.org/Team:Waterloo/ | + | <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 42: | Line 42: | ||
<li><a href="https://2014.igem.org/Team:Waterloo/Sponsors">Sponsors</a></li> | <li><a href="https://2014.igem.org/Team:Waterloo/Sponsors">Sponsors</a></li> | ||
<li><a href="https://2014.igem.org/Team:Waterloo/Gallery">Gallery</a></li> | <li><a href="https://2014.igem.org/Team:Waterloo/Gallery">Gallery</a></li> | ||
- | + | </ul> | |
</div> | </div> | ||
<div id="siteMap3"> | <div id="siteMap3"> | ||
<ul class= "flist"> | <ul class= "flist"> | ||
- | + | <li class= "footHeadings">Notebook</li> | |
- | <li><a href="https://2014.igem.org/Team:Waterloo/ | + | <li><a href="https://2014.igem.org/Team:Waterloo/Lab_Book">Lab Book</a></li> |
- | <li><a href="https://2014.igem.org/Team:Waterloo/ | + | <li><a href="https://2014.igem.org/Team:Waterloo/Protocols">Protocols</a></li> |
- | <li><a href="https://2014.igem.org/Team:Waterloo/ | + | <li><a href="https://2014.igem.org/Team:Waterloo/Math_Book">Math Book</a></li> |
- | + | </ul> | |
+ | |||
</div> | </div> | ||
</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