YUI Calendar

Hi there

Antone have experience with using YUI modules and calendar???

I have installed YUI Calendar and User Interface Library (YUI) widgits into a new directory "sites/files/lib" and then set about creating a new calendar (after installing the Drupal modules YUI Calendar 6.x-1.1-4)

Now this is where I get a little unsure.

I have then created a new Page with the folloiwig script

NB <> have been replaced with [] so that post does not remove them

--------------------------------
[div id="cal1Container"][/div]

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);

----------------------------

... as per the example on http://developer.yahoo.com/yui/examples/calen...

Nothing happens!! I just get the main script printed back. I have set input format to html.

Where am I going wrong???