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(); | ||
}); | }); | ||
- | $(" | + | $("text.anim").on("click", function(){ |
var ID = $(this).attr("name"); | var ID = $(this).attr("name"); | ||
- | $("svg.animbutton"). | + | $("svg.animbutton").hide(); |
+ | $("svg.animbutton#none"+ID).show(); | ||
+ | $("svg.animbutton#both"+ID).show(); | ||
+ | $("svg.animbutton#lux"+ID).show(); | ||
+ | $("svg.animbutton#las"+ID).show(); | ||
$("img.animation").hide(); | $("img.animation").hide(); | ||
$("img.animation#none"+ID).show(); | $("img.animation#none"+ID).show(); |
Revision as of 13:25, 10 October 2014