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_9 by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 14:50:52 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 HighlightEffect(element){ new Effect.Highlight(element, { startcolor: "#ff0000", endcolor: "#0000ff", restorecolor: "#00ff00", duration: 8 }) } </script> </head> <body> <div onclick="HighlightEffect(this)"> Click me to see the result of Highlight Method </div> </body> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_9 by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 14:50:52 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> </html> |