Results 1 to 4 of 4

Thread: Calender Input like on mon.itor.us

  1. #1
    Join Date
    Jun 2007
    Posts
    34
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Calender Input like on mon.itor.us

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

  2. #2
    Join Date
    Jun 2007
    Posts
    34
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Need help - basic stuff even

    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?
    Last edited by Aaron; 01-17-2008 at 11:30 AM.

  3. #3
    Join Date
    Jun 2007
    Posts
    34
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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.


    Code:
    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.

  4. #4
    Join Date
    Jun 2007
    Posts
    34
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •