Team:Trieste/outreach
From 2012.igem.org
(Difference between revisions)
(fix js) |
(fix js) |
||
Line 70: | Line 70: | ||
<script type="text/javascript" charset="utf-8"> | <script type="text/javascript" charset="utf-8"> | ||
$(function(){ | $(function(){ | ||
- | $('table.outreach > tbody > tr > td | + | $('table.outreach > tbody > tr > td').mouseover(function(ev){ |
- | $(ev.target).find('img').fadeOut('fast'); | + | $(ev.target).find('a > img').fadeOut('fast'); |
- | $(ev.target).find('span').fadeIn('fast'); | + | $(ev.target).find('a > span').fadeIn('fast'); |
}).mouseout(function(ev){ | }).mouseout(function(ev){ | ||
- | $(ev.target).find('span').fadeOut('fast'); | + | $(ev.target).find('a > span').fadeOut('fast'); |
- | $(ev.target).find('img').fadeIn('fast'); | + | $(ev.target).find('a > img').fadeIn('fast'); |
}); | }); | ||
}); | }); |
Revision as of 23:52, 26 September 2012