Basic HTML Dojo Page Startup


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1.  
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  3. <head>
  4. <title>Hello World</title>
  5.  
  6. <script type="text/javascript">
  7. var djConfig = { isDebug:false, parseOnLoad:true };
  8. </script>
  9. <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.5/dojo/dojo.xd.js"></script>
  10.  
  11. <script type="text/javascript">
  12. dojo.addOnLoad(function(){
  13. console.log('dom loaded');
  14.  
  15. });
  16. </script>
  17. </head>
  18. <body>
  19.  
  20. </body>
  21. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.