Team:ETH Zurich/tpl/head/animbuttons
From 2014.igem.org
(Difference between revisions)
Line 26: | Line 26: | ||
$("img.animation").hide(); | $("img.animation").hide(); | ||
$("img.animation#none"+ID).show(); | $("img.animation#none"+ID).show(); | ||
- | $("img.animation#none"+ID).load(); | + | $("img.animation#none"+ID).load(this.src); |
}); | }); | ||
Line 38: | Line 38: | ||
$("img.animation").hide(); | $("img.animation").hide(); | ||
$("img.animation#none"+ID).show(); | $("img.animation#none"+ID).show(); | ||
- | $("img.animation#none"+ID).load(); | + | $("img.animation#none"+ID).load(this.src); |
}); | }); | ||
}); | }); |
Revision as of 16:04, 11 October 2014