Team:Brown-Stanford/Templates/Main
From 2011.igem.org
(Difference between revisions)
Line 228: | Line 228: | ||
}, 2000); | }, 2000); | ||
}); | }); | ||
+ | }; | ||
+ | |||
+ | var stopAnimation = function() { | ||
+ | // Change the background image to "play" | ||
+ | $("#control").css({ "background-image" : "url(images/btn_play.png)" }); | ||
+ | |||
+ | // Clear the interval | ||
+ | clearInterval(interval); | ||
}; | }; | ||
Revision as of 20:33, 27 June 2011