Team:Brown-Stanford/Templates/Main

From 2011.igem.org

(Difference between revisions)
(Undo revision 21119 by Yujovi (talk))
(Undo revision 21112 by Yujovi (talk))
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