Edit Code in left box and click Show Results button to see the result. | Home
<html> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_30 by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 14:50:58 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> <head> <title>script.aculo.us examples</title> <script type="text/javascript" src="../javascript/prototype.js"></script> <script type="text/javascript" src="../javascript/scriptaculous9f06.js?load=effects"></script> <script type="text/javascript"> function FadeEffect(element){ new Effect.Fade(element, { duration:1}); } function ShowEffect(element){ new Effect.Appear(element, {duration:1, from:1.0, to:1.0}); } </script> </head> <body> <div onclick="FadeEffect('hideshow')"> Click me to fade out the image </div> <br /> <div onclick="ShowEffect('hideshow')"> Click me to display the image once again </div> <br /> <div id="hideshow"> <img src="../images/scriptaculous.gif" alt="script.aculo.us" /> </div> </body> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_30 by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 14:50:58 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> </html> |