Highlight animation
<html> <head> <script type="text/javascript"> var djConfig = { baseScriptUri : "js/dojo/", parseOnLoad : true }; </script> <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script> <script> dojo.require("dojox.fx._base"); function testIt() { dojox.fx.highlight({ node : "my", color : "#f00" }).play(); } </script> </head> <body onload=testIt()> <div id="my">Your Text</div> </body> </html>