Line 15: | Line 15: | ||
} | } | ||
#teammembers { | #teammembers { | ||
− | |||
top: 100px; | top: 100px; | ||
text-decoration: none; | text-decoration: none; | ||
Line 74: | Line 73: | ||
$('#desc').text("This could be a bio for Madeline! It is pretty long, because she has a lot to say about herself. I can make the text smaller, and add lots more words, such as I don't like that idea."); | $('#desc').text("This could be a bio for Madeline! It is pretty long, because she has a lot to say about herself. I can make the text smaller, and add lots more words, such as I don't like that idea."); | ||
}); | }); | ||
− | $('#teammembers | + | $('#teammembers img').mouseleave(function () { |
$('#desc').text("Mouse over a member of our team to learn about them!"); | $('#desc').text("Mouse over a member of our team to learn about them!"); | ||
}); | }); | ||
Line 93: | Line 92: | ||
<img src="https://static.igem.org/mediawiki/2017/2/2c/T--BostonU--madelinebio.jpg" id="md"></img> | <img src="https://static.igem.org/mediawiki/2017/2/2c/T--BostonU--madelinebio.jpg" id="md"></img> | ||
<p id="desc">Mouse over a member of our team to learn about them! | <p id="desc">Mouse over a member of our team to learn about them! | ||
+ | |||
</p> | </p> | ||
</div> | </div> | ||
− | |||
</div> | </div> | ||
</body> | </body> |
Revision as of 20:55, 18 July 2017
Mouse over a member of our team to learn about them!