Team:Waterloo/TemplatePage

From 2014.igem.org

(Difference between revisions)
 
(15 intermediate revisions not shown)
Line 1: Line 1:
-
{{Template:Team:Waterloo/CSS/baseWiki}}
+
{{Team:Waterloo/CSS/baseWiki}}
-
{{Template:Team:Waterloo/CSS/WaterlooTeam}}
+
{{Team:Waterloo/CSS/WaterlooTeam}}
 +
{{Team:Waterloo/TopBar}}
<html>
<html>
-
<title>Waterloo iGem 2014 Team</title>
 
-
<meta charset="UTF-8">
 
<style>
<style>
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
</style>
</style>
-
<div id="topbar">
+
<h1>Heading</h1>
-
<!--Headings shown on a large screen-->
+
-
<ul id="headings">
+
-
<li><img src="https://static.igem.org/mediawiki/2014/4/49/Waterloo_Igem-logo-small.png" height=50px></li>
+
-
<li><a class="barheading" onclick="toggleNavPanel('subs1')">Project <span class="navarrow">&#9662;</span></a></li>
+
-
<li><a class="barheading">Lab Book</a></li>
+
-
<li><a class="barheading">Outreach</a></li>
+
-
<li><a class="barheading">Accomplishments</a></li>
+
-
<li><a class="barheading" href="file:///home/lisaw/Desktop/Website/WaterlooTeam.html">Team</a></li>
+
-
<li><a class="barheading">Sponsors</a></li>
+
-
<li><a href="https://2014.igem.org" target="_blank">
+
-
<img src="https://static.igem.org/mediawiki/2014/d/d9/Waterloo_Igemlogo_whiteletters_grey.png" style="height: 50px;"></a></li>
+
-
</ul>
+
-
<div class="sections_panel" id="subs1" style="width: 300px;">
+
-
<div>
+
-
<ul class="projSubs">
+
-
<li><a class="subheading">Overview</a></li>
+
-
<li><a class="subheading">YFP Integration</a></li>
+
-
<li><a class="subheading">CRISPRi</a></li>
+
-
<li><a class="subheading">sRNA</a></li>
+
-
<li><a class="subheading">Conjugation</a></li>
+
-
<li><a class="subheading">Antibiotic Silencing</a></li>
+
-
<li><a class="subheading">Appendix</a></li>
+
-
</ul>
+
-
</div>
+
-
</div>
+
-
<!--Headings shown on a small screen-->
+
-
<ul id="shortheadings">
+
-
<li style="width: 20%"><img src="https://static.igem.org/mediawiki/2014/4/49/Waterloo_Igem-logo-small.png" height=50px></li>
+
-
<li style="width: 40%"><a class="barheading" onclick="toggleNavPanel('subs2')" style="line-height:150%;">Navigate <span class="navarrow">&#9662;</span></a></li>
+
-
<li style="width: 40%"><table style="margin: auto; margin-right: 10%;">
+
-
<tr><td><a href="https://www.facebook.com/WaterlooiGEM" target="_blank">
+
-
<img class="icons" id="fb" src="https://static.igem.org/mediawiki/2014/6/60/Waterloo_Facebook_black.png"
+
-
onmouseover="onHover(this.id,'https://static.igem.org/mediawiki/2014/f/f3/Waterloo_Facebook_colour.png')"
+
-
onmouseout="offHover(this.id,'https://static.igem.org/mediawiki/2014/6/60/Waterloo_Facebook_black.png')"/>
+
-
</a></td>
+
-
<td><a href="https://twitter.com/Waterloo_iGEM" target="_blank">
+
-
<img class="icons" id="tw" src="https://static.igem.org/mediawiki/2014/5/56/Waterloo_Twitter_black_64-03.png"
+
-
onmouseover="onHover(this.id,'https://static.igem.org/mediawiki/2014/8/84/Waterloo_Twitter_colour_64-03.png')"
+
-
onmouseout="offHover(this.id,'https://static.igem.org/mediawiki/2014/5/56/Waterloo_Twitter_black_64-03.png')"/>
+
-
</a></td>
+
-
<td><a href="http://www.youtube.com/user/WaterlooiGEM?feature=watch" target="_blank">
+
-
<img class="icons" id="yt" src="https://static.igem.org/mediawiki/2014/b/bd/Waterloo_Youtube_black.png"
+
-
onmouseover="onHover(this.id,'https://static.igem.org/mediawiki/2014/f/f0/Waterloo_Youtube_colour.png')"
+
-
onmouseout="offHover(this.id,'https://static.igem.org/mediawiki/2014/b/bd/Waterloo_Youtube_black.png')"/>
+
-
</a></td>
+
-
<td>
+
-
<a href="https://2014.igem.org" target="_blank">
+
-
<img src="https://static.igem.org/mediawiki/2014/d/d9/Waterloo_Igemlogo_whiteletters_grey.png" style="height: 50px;"></a>
+
-
</td></tr>
+
-
</table></li>
+
-
</ul>
+
-
<div class="sections_panel" id="subs2" style="width: 500px;">
+
-
<div>
+
-
<table id="navMenu">
+
-
<tr>
+
-
<td rowspan=5><div class="navItems" style="margin-left: 0px;">Project</div>
+
-
<ul class="projSubs">
+
-
<li><a class="subheading">Overview</a></li>
+
-
<li><a class="subheading">YFP Integration</a></li>
+
-
<li><a class="subheading">CRISPRi</a></li>
+
-
<li><a class="subheading">sRNA</a></li>
+
-
<li><a class="subheading">Conjugation</a></li>
+
-
<li><a class="subheading">Antibiotic Silencing</a></li>
+
-
<li><a class="subheading">Appendix</a></li>
+
-
</ul></td>
+
-
<td><div class="navItems">Lab Book</div></td>
+
-
</tr>
+
-
<tr>
+
-
<td><div class="navItems">Outreach</div></td>
+
-
</tr>
+
-
<tr>
+
-
<td><div class="navItems">Accomplishments</div></td>
+
-
</tr>
+
-
<tr>
+
-
<td><div class="navItems">Team</div></td>
+
-
</tr>
+
-
<tr>
+
-
<td><div class="navItems">Sponsors</div></td>
+
-
</tr>
+
-
</table>
+
-
</div>
+
-
</div>
+
-
</div>
+
-
<!--Back to top button-->
+
-
<a href="#TOP"><img id="toTop" src="https://static.igem.org/mediawiki/2014/a/ad/Waterloo_to-top-button.png"></a>
+
-
<div class="spacer"></div>
+
-
<h1>Heading</h1>
+
<!--Slideshow or image here-->
-
 
+
<div id="imgBox">
-
<!--Slideshow or image here-->
+
 
-
<div id="imgBox">
+
</div>
-
+
<!--Content below images-->
-
</div>
+
<div class="content">
-
<!--Content below images-->
+
  <ul class="tabs">
-
<div class="content">
+
    <li><a href="#view0">Instructions Tab</a></li>
-
<ul class="tabs">
+
    <li><a href="#view1">Tab 1</a></li>
-
<li><a href="#view0">Instructions Tab</a></li>
+
    <li><a href="#view2">Tab 2</a></li>
-
<li><a href="#view1">Tab 1</a></li>
+
    <li><a href="#view3">Tab 3</a></li>
-
<li><a href="#view2">Tab 2</a></li>
+
  </ul>
-
<li><a href="#view3">Tab 3</a></li>
+
  <div class="tabcontents">
-
</ul>
+
    <div class="anchor" id="view0">
-
<div class="tabcontents">
+
      <h2>Instructions for Tabs</h2>
-
                        <div id="view0">
+
      In the file, use the 'find' function to search for "Content below images." Below this line, the code for the different tabs begin.
-
<div class="subheading">Instructions for Tabs<br><br></div>
+
      Between the 'ul' tags, there is a list with the tab names. Change the tabs to list them in order. Under the '/ul' tag and within the 'tabcontents' div, include other divs with the ids in the list of tabs. Between these divs, add the information that you would like displayed when the corresponding tab is selected.
-
In the file, use the 'find' function to search for "Content below images." Below this line, the code for the different tabs begin.
+
-
Between the 'ul' tags, there is a list with the tab names. Change the tabs to list them in order. Under the '/ul' tag and within the 'tabcontents' div, include other divs with the ids in the list of tabs. Between these divs, add the information that you would like displayed when the corresponding tab is selected.
+
-
 
+
-
Note: The epidemiology map is shown in 'Tab 1'
+
-
</div>
+
-
<div id="view1">
+
-
<div class="subheading">Subheading<br><br></div>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
<iframe src="http://mapsengine.google.com/map/embed?mid=ztrZ1qkPPbZo.kq_MwB1YDonc" width="640" height="480"></iframe>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
content 1 <br>
+
-
</div>
+
-
<div id="view2">
+
-
<div class="subheading">Subheading<br><br></div>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
content 2 <br>
+
-
</div>
+
-
<div id="view3">
+
-
<div class="subheading">Subheading<br><br></div>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
content 3 <br>
+
-
</div>
+
-
</div>
+
-
 
+
-
<!--Wiki footer-->
+
-
<div class="footerBorder">
+
-
<div id="footer">
+
-
<img class="logoFoot" src="https://static.igem.org/mediawiki/2014/4/49/Waterloo_Igem-logo-small.png">
+
-
<table style="margin-left: 100px; width: 157px; text-align: center;">
+
-
<tr><td><a href="https://www.facebook.com/WaterlooiGEM" target="_blank">
+
-
<img class="icons" src="https://static.igem.org/mediawiki/2014/f/f3/Waterloo_Facebook_colour.png">
+
-
</a></td>
+
-
<td><a href="https://twitter.com/Waterloo_iGEM" target="_blank">
+
-
<img class="icons" src="https://static.igem.org/mediawiki/2014/8/84/Waterloo_Twitter_colour_64-03.png">
+
-
</a></td>
+
-
<td><a href="http://www.youtube.com/user/WaterlooiGEM?feature=watch" target="_blank">
+
-
<img class="icons" src="https://static.igem.org/mediawiki/2014/f/f0/Waterloo_Youtube_colour.png">
+
-
</a></td>
+
-
</tr>
+
-
</table>
+
-
<div id="siteMap1">
+
-
<ul class= "flist">
+
-
<li class= "footHeadings">Project</li>
+
-
<li>Overview</li>
+
-
<li>YFP Integration</li>
+
-
<li>CRISPRi</li>
+
-
<li>sRNA</li>
+
-
<li>Conjugation</li>
+
-
<li>Antibiotic Silencing</li>
+
-
<li>Appendix</li>
+
-
</ul>
+
-
</div>
+
-
<div id="siteMap2">
+
-
<ul class= "flist">
+
-
<li class= "footHeadings">Lab Book</li>
+
-
<li style="height: 3px;"></li>
+
-
<li class= "footHeadings">Outreach</li>
+
-
<li>SJAM</li>
+
-
<li>Shad Valley</li>
+
-
<li>Youtube Lab Series</li>
+
-
<li style="height: 10px;"></li>
+
-
<li class= "footHeadings">Team</li>
+
-
</ul>
+
-
</div>
+
-
<div id="siteMap3">
+
-
<ul class= "flist">
+
-
<li class= "footHeadings">Accomplishments</li>
+
-
<li>Judging</li>
+
-
<li>Biobricks</li>
+
-
<li>Collaborations</li>
+
-
<li>Attributions</li>
+
-
<li style="height: 10px;"></li>
+
-
<li class= "footHeadings">Sponsors</li>
+
-
</ul>
+
-
</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();
+
-
  if (remainingWidth <= "1000"){
+
-
    $("ul#headings >li").css("display", "none");
+
-
    $("ul#shortheadings >li").css("display", "block");
+
-
    //console.log("working");
+
-
  }
+
-
  else {
+
-
    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%"});
+
-
    //$("button").css("width", allheadings.width());
+
-
    console.log($(remainingWidth));
+
-
  }
+
-
}
+
-
 
+
-
$(document).ready(alignHeadings);
+
-
$(window).resize(alignHeadings);
+
-
</script>
+
 +
      Note: The epidemiology map is shown in 'Tab 1'
 +
    </div>
 +
    <div class="anchor" id="view1">
 +
      <h2>Tab 1</h2>
 +
      <p>
 +
        content 1 <br>
 +
        content 1 <br>
 +
        <iframe src="http://mapsengine.google.com/map/embed?mid=ztrZ1qkPPbZo.kq_MwB1YDonc" width="640" height="480"></iframe>
 +
        content 1 <br>
 +
        content 1 <br>
 +
        content 1 <br>
 +
        content 1 <br>
 +
        content 1 <br>
 +
        content 1 <br>
 +
        content 1 <br>
 +
        content 1 <br>
 +
      </p>
 +
    </div>
 +
    <div class="anchor" id="view2">
 +
      <h2>Tab 2</h2>
 +
      <p>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
        content 2 <br>
 +
      </p>
 +
    </div>
 +
    <div class="anchor" id="view3">
 +
      <h2>Tab 3</h2>
 +
      <p>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
        content 3 <br>
 +
      </p>
 +
    </div>
 +
  </div>
 +
</div>
</html>
</html>
 +
{{Template:Team:Waterloo/Footbar}}
{{Template:Team:Waterloo/JS/WaterlooTeam}}
{{Template:Team:Waterloo/JS/WaterlooTeam}}
{{Template:Team:Waterloo/JS/baseWiki}}
{{Template:Team:Waterloo/JS/baseWiki}}

Latest revision as of 01:17, 17 October 2014

Heading

Instructions for Tabs

In the file, use the 'find' function to search for "Content below images." Below this line, the code for the different tabs begin. Between the 'ul' tags, there is a list with the tab names. Change the tabs to list them in order. Under the '/ul' tag and within the 'tabcontents' div, include other divs with the ids in the list of tabs. Between these divs, add the information that you would like displayed when the corresponding tab is selected. Note: The epidemiology map is shown in 'Tab 1'

Tab 1

content 1
content 1
content 1
content 1
content 1
content 1
content 1
content 1
content 1
content 1

Tab 2

content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2
content 2

Tab 3

content 3
content 3
content 3
content 3
content 3
content 3
content 3
content 3
content 3
content 3
content 3
content 3