topical media & game development

talk show tell print

basic-web-html-12-ch12-eg23.htm / htm



  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <html>
  <head>
  <title>Yahoo YUI Calendar</title>
  <link rel="stylesheet" type="text/css" href="../assets/scripts/yui/build/fonts/fonts-min.css" />
  <link rel="stylesheet" type="text/css" href="../assets/scripts/yui/build/calendar/assets/calendar.css" />
  <script type="text/javascript" src="../assets/scripts/yui/build/yahoo-dom-event/yahoo-dom-event.js"></script>
  <script type="text/javascript" src="../assets/scripts/yui/build/calendar/calendar.js"></script>
  </head>
  
  <body>
  <div id="cal1Container"></div>
  
  <script type="text/javascript">
          YAHOO.namespace("example.calendar");
  
          YAHOO.example.calendar.init = function() {
                  YAHOO.example.calendar.cal1 = new YAHOO.widget.Calendar("cal1","cal1Container");
                  YAHOO.example.calendar.cal1.render();
          }
  
          YAHOO.util.Event.onDOMReady(YAHOO.example.calendar.init);
  </script>
  
  <div style="clear:both" ></div>
  </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.