Sorry about the late response. If you're still have problems:
It seems like you're trying to instantiate the Calendar before the DIV you're using to render it to is on the page/in the document.
The navbar example pulls in content asynchronously. If you're doing this also, are you instantiating the Calendar in the success handler, or right after you call YAHOO.util.History.navigate(....)?
If it's the later, your Calendar instantiation code is probably getting invoked before the new content with the Calendar DIV has been delivered.
If you have a URL we could look at that would help.
] On Behalf Of gregbown
Sent: Friday, May 09, 2008 1:40 PM
I hope someone is going to respond besides myself. It seems as if the calender render happens before the any page loads because I see the entire contact page with the calender showing a split second before load. I am using the code from the dialog example
> I have a contact page that loads into a layout
> through the use of a simple navigation bar
> <http://developer.yahoo.com/yui/examples/history/history-navbar.html> .
> I place calender script on the main page. when I navigate to contact
> page I get "this.oDomContainer has no properties" warning in firebug and
> no calender is rendered. I have tried about 6 different script examples
> they all work on a separate page but not my loaded div.
> I have also tried placing the script on the loaded page. It doesn't
> seem to get parsed by the browser.
> I would like it to pop up from a click event on the date input and have
> the date selected be the input value when the calender is clicked like
> this <http://blog.davglass.com/files/yui/cal2/> if possible.