Log in

View Full Version : Calender Input like on mon.itor.us



Aaron
01-15-2008, 08:34 AM
The mon.itor.us website has some really cool features. I want to emulate what they are doing with date selection "Calendar" (the CSS popup calendar thing).

Is it one of those Yahoo free programming things that I could never figure out?

Would someone please tell me which they are using and how to program that? I have application which lets people choose a day (today, tomorrow, ... 55 days) and I'd like to use this for graphical input rather then my select dropdown box (which isn't bad).

Aaron
01-17-2008, 09:55 AM
OK, downloaded the YUI Calendar and tried to add that to my site.
But running into all kinds of hurt. I'm getting over my head.


Tried to do an example.

Press the button to have calendar popup the dang form submits. Then Firefox crashes again.

Can anyone walk me thru this stuff? Give advice and education. I think this is what is appropriate for my application. It claims to do everything I want. To show multiple (3) months in div pop-up. And allows selecting multiple dates. Allows restricting dates below and above cutoffs.

Would someone educate?

Aaron
01-17-2008, 01:56 PM
Can't for the life of me figure this out. Even googled it and no luck. What does this mean? It's in firebug console.



this.oDomContainer has no properties
[Break on this error] if (!this.oDomContainer.id) {



Do I need to install all 40 meg of files onto my shared host to get this dang YUI calender thing to work? I am lost. Please advise. Heck, whenever I press the button (the calender for 2 months is supposed to popup) the dang form submits. I don't even know why? Thought a "submit" button caused the form to submit, not any button on the form? Yea, lost.

Aaron
01-18-2008, 04:05 AM
Uploaded everything. Tested with the examples, worked. Then copied example as close as possible into my code. That worked with no error. So looks like it was my fault. Must need to place JS after declaring div in that function like the example rather then following "basic directions" examples. And my form was being submit because the example code was lacking type="button" in their html. I was inside a form and it was interpretting the button as type="submit" apparently. Now need to learn more about the YUI Calendar, especially formatting. Though think I can work on that now without it error and crashing Firefox. One other thing I was not doing yesterday, not including the fonts.css file as the example does. Guess it's something for formatting. I started tinkering with the settings ... it does effect my entire page and changing them effects the Calendar. Oh well, not at all "easy" ... as most things nowadays.