Team:Queens Canada/Intro/Team

From 2011.igem.org

(Difference between revisions)
Line 153: Line 153:
   </div>
   </div>
   <div id="Accordion2Content1" class="AccordionContent1">
   <div id="Accordion2Content1" class="AccordionContent1">
-
          <span class="classgreen"> 
+
      text
-
            <a href="/Team:Queens_Canada/Project/Intro">    Introduction<p></a>   
+
-
            <a href="/Team:Queens_Canada/Project/Background">Background<p></a> 
+
-
            <a href="/Team:Queens_Canada/Project/Methods">Methods<p></a> 
+
-
            <a href="/Team:Queens_Canada/Project/Results">Results<p></a>   
+
-
            <a href="/Team:Queens_Canada/Project/Future">Applications<p></a> 
+
-
        </span>
+
   </div>
   </div>
Line 249: Line 243:
   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
   <script type="text/javascript">
   <script type="text/javascript">
-
var ContentHeight1 = 200;
+
var ContentHeight = 200;
-
var TimeToSlide1 = 300.0;
+
var TimeToSlide = 300.0;
-
var openAccordion1 = '';
+
var openAccordion = '';
function runAccordion1(index, AccHeight1)
function runAccordion1(index, AccHeight1)
{
{
-
   ContentHeight1 = AccHeight1;
+
   ContentHeight = AccHeight;
    
    
-
   var nID = "Accordion1" + index + "Content1";
+
   var nID = "Accordion" + index + "Content";
-
   if(openAccordion1 == nID)
+
   if(openAccordion == nID)
     nID = '';
     nID = '';
    
    
-
   setTimeout1("animate(" + new Date().getTime() + "," + TimeToSlide + ",'"
+
   setTimeout("animate(" + new Date().getTime() + "," + TimeToSlide + ",'"
       + openAccordion + "','" + nID + "')", 33);
       + openAccordion + "','" + nID + "')", 33);
   
   
-
   openAccordion1 = nID;
+
   openAccordion = nID;
          
          
}
}
Line 272: Line 266:
function animate1(lastTick, timeLeft, closingId, openingId)
function animate1(lastTick, timeLeft, closingId, openingId)
{   
{   
-
   var curTick1 = new Date().getTime();
+
   var curTick = new Date().getTime();
-
   var elapsedTicks1 = curTick - lastTick;
+
   var elapsedTicks = curTick - lastTick;
   
   
-
   var opening1 = (openingId == '') ? null : document.getElementById(openingId);
+
   var opening = (openingId == '') ? null : document.getElementById(openingId);
-
   var closing1 = (closingId == '') ? null : document.getElementById(closingId);
+
   var closing = (closingId == '') ? null : document.getElementById(closingId);
   
   
-
   if(timeLeft1 <= elapsedTicks)
+
   if(timeLeft <= elapsedTicks)
   {
   {
     if(opening != null)
     if(opening != null)
-
       opening.style.height = ContentHeight1 + 'px';
+
       opening.style.height = ContentHeight + 'px';
    
    
     if(closing != null)
     if(closing != null)
Line 291: Line 285:
   }
   }
   
   
-
   timeLeft1 -= elapsedTicks1;
+
   timeLeft -= elapsedTicks;
-
   var newClosedHeight1 = Math.round((timeLeft/TimeToSlide) * ContentHeight1);
+
   var newClosedHeight = Math.round((timeLeft/TimeToSlide) * ContentHeight);
   if(opening != null)
   if(opening != null)

Revision as of 23:13, 20 June 2011

Student Members

Our Team

QGEM's 2011 Team

Queen's

Adrian McNeely

Adrian is a biochemist. He enjoys long walks on the beach, red wine, and successful PCRs.

Tony He

HE also works here!

Stephanie Zhou

She works here too!

Olivia Margie

She works here too!

Alex Campbell

He works here too!

Allister Smith

Allister is a biochemical engineer. Mr. Smith enjoys online lurking, the continuous shooting mode on his camera and is responsible for all spelling mistakes on the Wiki.

David Dai

David works here too!

Sophie Gong

She works here too!

Kevin Chen

He works here too!

Kristina Collavino

She works here too!

Eni Rukaj

She works here too!

Faisal Bakhteyar

He works here too!

Project Nemo
text
Side Projects
Parts