Difference between revisions of "Team:UMaryland/Team"

Line 256: Line 256:
 
     <div class = "name"> Aditya Biswas</div>  
 
     <div class = "name"> Aditya Biswas</div>  
 
       <div class ="title"> PCR Design Director, </div>  
 
       <div class ="title"> PCR Design Director, </div>  
       <img id="my-img" src="https://static.igem.org/mediawiki/2015/c/cc/Aditya1.JPG" onmouseover="hover(this);" onmouseout="unhover(this);" />  
+
       <img id="my-img" src="https://static.igem.org/mediawiki/2015/c/cc/Aditya1.JPG" onmouseover="hoverAditya(this);" onmouseout="unhoverAditya(this);" />  
 
       <div class = bio>  
 
       <div class = bio>  
 
<h2>Aditya Biswas</h2>
 
<h2>Aditya Biswas</h2>
Line 520: Line 520:
 
}
 
}
  
 +
function hoverAditya(element) {
 +
    element.setAttribute('src', 'https://static.igem.org/mediawiki/2015/c/cc/Aditya1.JPG');
 +
}
 +
 +
function unhoverAditya(element) {
 +
    element.setAttribute('src', 'https://static.igem.org/mediawiki/2015/a/ad/Aditya2.JPG');
 +
}
  
 
(function($) {
 
(function($) {

Revision as of 17:40, 28 August 2015