f06f1ee654d755dbdfe39902209c8a78a89bcb36.svn-base 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3. <html>
  4. <head>
  5. <title>dojox.fx.highlight</title>
  6. <script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug:true"></script>
  7. <script type="text/javascript">
  8. dojo.require("dojox.fx");
  9. </script>
  10. <style type="text/css">
  11. @import "../../../dojo/resources/dojo.css";
  12. @import "../../../dijit/themes/dijit.css";
  13. @import "../../../dijit/themes/tundra/tundra.css";
  14. @import "../../../dijit/tests/css/dijitTests.css";
  15. </style>
  16. </head>
  17. <body class="tundra">
  18. <h1 class="testTitle">dojox.fx.highlight tests</h1>
  19. <div id="attention" style="position:absolute; left:300px; top:200px; padding:10px;" >
  20. <h3>This is the default highlight</h3>
  21. </div>
  22. <div id="attention2" style="position:absolute; left:300px; top:80px; padding:10px;" >
  23. <h3>BRING ATTENTION HERE!</h3>
  24. </div>
  25. <div id="attention3" style="position:absolute; left:350px; top:150px; padding:10px; background-color:#CCCCCC" >
  26. <h3>Highlight me</h3>
  27. </div>
  28. <a href="javascript:void(0)" onClick="dojox.fx.highlight({node:'attention'}).play()">test #1 (default)</a>
  29. <br>
  30. <a href="javascript:void(0)" onClick="dojox.fx.highlight({node:'attention', repeat:1}).play()">test #2 (default - play twice)</a>
  31. <br>
  32. <a href="javascript:void(0)" onClick="dojox.fx.highlight({node:'attention2', color:'#0066FF', duration:800}).play()">test #3</a>
  33. <br>
  34. <a href="javascript:void(0)" onClick="dojox.fx.highlight({node:'attention3', color:'#0066FF', duration:800}).play()">test #4</a>
  35. </body></html>