Team:Waterloo/TestPage

From 2014.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 27: Line 27:
     <table style="width: 95%; margin: auto;">
     <table style="width: 95%; margin: auto;">
       <tr style="height: 0px; cursor: default;">
       <tr style="height: 0px; cursor: default;">
-
         <td id="infoView" rowspan="9" style="width: 50%; min-width: 325px; text-align: center; background: #F0F0F0; border-radius: 50px; box-shadow: 5px 8px 5px #5AA3B8;">
+
         <td id="infoView" rowspan="7" style="width: 50%; min-width: 325px; text-align: center; background: #F0F0F0; border-radius: 50px; box-shadow: 5px 8px 5px #5AA3B8;">
           <img class="profile" src=""><br><h2>Team Waterloo</h2><br><div style="text-align: left;"></div>
           <img class="profile" src=""><br><h2>Team Waterloo</h2><br><div style="text-align: left;"></div>
         </td>
         </td>
Line 61: Line 61:
         <td><a onclick="showInfo('team_members', '27')"><img src="https://static.igem.org/mediawiki/2014/8/81/Waterloo_RollenDSouza_.jpg" class="gridpic"></a></td>
         <td><a onclick="showInfo('team_members', '27')"><img src="https://static.igem.org/mediawiki/2014/8/81/Waterloo_RollenDSouza_.jpg" class="gridpic"></a></td>
         <td><a onclick="showInfo('team_members', '26')"><img src="https://static.igem.org/mediawiki/2014/5/53/Waterloo_KevinThai.jpg" class="gridpic"></a></td>
         <td><a onclick="showInfo('team_members', '26')"><img src="https://static.igem.org/mediawiki/2014/5/53/Waterloo_KevinThai.jpg" class="gridpic"></a></td>
-
         <td><a onclick="showInfo('team_members', '23')"><img src="https://static.igem.org/mediawiki/2014/2/2f/Waterloo_NathanIng.JPG" class="gridpic"></a></td>
+
         <td><a onclick="showInfo('team_members', '11')"><img src="https://static.igem.org/mediawiki/2014/2/2f/Waterloo_NathanIng.JPG" class="gridpic"></a></td>
       </tr>
       </tr>
       <tr>
       <tr>
Line 78: Line 78:
         <td><a onclick="showInfo('team_members', '25')"><img src="https://static.igem.org/mediawiki/2014/b/b7/Waterloo_JiyunKo.jpg" class="gridpic"></a></td>
         <td><a onclick="showInfo('team_members', '25')"><img src="https://static.igem.org/mediawiki/2014/b/b7/Waterloo_JiyunKo.jpg" class="gridpic"></a></td>
         <td><a onclick="showInfo('team_members', '10')"><img src="https://static.igem.org/mediawiki/2014/c/c1/Waterloo_LindaYang.jpg" class="gridpic"></a></td>
         <td><a onclick="showInfo('team_members', '10')"><img src="https://static.igem.org/mediawiki/2014/c/c1/Waterloo_LindaYang.jpg" class="gridpic"></a></td>
-
      </tr>
 
-
      <tr>
 
-
        <td><a onclick="showInfo('team_members', '4')"><img src="circle1.png" class="gridpic"></a></td>
 
-
        <td><a onclick="showInfo('team_members', '4')"><img src="circle1.png" class="gridpic"></a></td>
 
-
        <td><a onclick="showInfo('team_members', '4')"><img src="circle1.png" class="gridpic"></a></td>
 
-
        <td><a onclick="showInfo('team_members', '4')"><img src="circle1.png" class="gridpic"></a></td>
 
-
        <td><a onclick="showInfo('team_members', '4')"><img src="circle1.png" class="gridpic"></a></td>
 
-
        <td><a onclick="showInfo('team_members', '4')"><img src="circle1.png" class="gridpic"></a></td>
 
-
      </tr>
 
-
      <tr>
 
-
        <td><img src="circle1.png" class="gridpic"></td>
 
-
        <td><img src="circle1.png" class="gridpic"></td>
 
-
        <td><img src="circle1.png" class="gridpic"></td>
 
-
        <td><img src="circle1.png" class="gridpic"></td>
 
-
        <td><img src="circle1.png" class="gridpic"></td>
 
-
        <td><img src="circle1.png" class="gridpic"></td>
 
       </tr>
       </tr>
     </table>
     </table>
Line 117: Line 101:
function alignHeadings(){
function alignHeadings(){
   var remainingWidth = $("div#topbar").width();
   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");
     var allheadings = $("ul#headings >li");
     allheadings.css("display", "block");
     allheadings.css("display", "block");
Line 128: Line 106:
     allheadings.width(remainingWidth / (allheadings.length + 0.5))
     allheadings.width(remainingWidth / (allheadings.length + 0.5))
       .css({"text-align":"center","line-height":"150%"});
       .css({"text-align":"center","line-height":"150%"});
-
    //$("button").css("width", allheadings.width());
 
-
    console.log($(remainingWidth));
 
-
  }
 
}
}

Latest revision as of 05:04, 16 October 2014

Waterloo iGem 2014 Team

Team

Advisors


Trevor Charles

Brian Ingalls

Marc Aucoin

Andrew Doxey

Barbara Moffatt