Revision: 5775
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 3, 2008 07:22 by gfazioli
Initial Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sample</title> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects"></script> <script type="text/javascript"> // Event.observe(window, 'load', main); // function main() { new Effect.Tween('foo', 10, 100, { duration: 2, afterFinish: function() { alert("Game Over"); } }, function(p) { this.innerHTML = 'Countdown: '+p } ); } </script> </head> <body> <div id="foo"></div> </body> </html>
Initial URL
http://www.undolog.com/2008/03/20/scriptaculous-effecttween-come-funziona/
Initial Description
HTML+Javascript
Initial Title
Scriptaculous Effect Tween
Initial Tags
Initial Language
JavaScript