Team:StuyGem NYC
From 2014hs.igem.org
(Difference between revisions)
Kelvinn1996 (Talk | contribs) |
Kelvinn1996 (Talk | contribs) |
||
Line 212: | Line 212: | ||
canvas.addEventListener('mousemove', function(evt){ | canvas.addEventListener('mousemove', function(evt){ | ||
var mousePos = getMousePos(canvas, evt); | var mousePos = getMousePos(canvas, evt); | ||
- | if (mousePos.x < 250) { | + | if ((mousePos.x < 250) && (mousePos.y < 250)){ |
imageObj.src = 'https://static.igem.org/mediawiki/2014hs/4/42/TeamOn.png'; | imageObj.src = 'https://static.igem.org/mediawiki/2014hs/4/42/TeamOn.png'; | ||
imageObj2.src = 'https://static.igem.org/mediawiki/2014hs/7/79/Parts.png'; | imageObj2.src = 'https://static.igem.org/mediawiki/2014hs/7/79/Parts.png'; |
Revision as of 03:39, 18 April 2014
Get in touch!
Visit Our Twitter Page!