Results 1 to 2 of 2

Thread: Help me on this datepicker,,,

  1. #1
    Join Date
    Jun 2008
    Thanked 0 Times in 0 Posts

    Default Help me on this datepicker,,,

    here's a link to a awesome datepicker script..

    one question, Is there a way to use aeron calendar without linking it to an input field, but just have it show constantly on the page?

  2. #2
    Join Date
    Jul 2006
    Thanked 70 Times in 70 Posts


    Yes, but only with some major tweaking. Its dependence on MooTools is a bad thing from a tweaking perspective, because the code is obscure to anyone who isn't intimately familiar with the API. (I use [] below to group phrases because my sentences were getting confusing.)

    You'll need to
    1. understand how [the name of the single property of the first argument to Calendar] becomes the id of the text input and remove the association,
    2. attach [whatever action is currently attached to the button's onclick handler] to window.onload instead,
    3. change the onclick handlers for the dates to [do whatever you're wanting] instead of filling the text inputs.

    Or, if you're feeling especially adventurous, you could rewrite [the DOM modifications made by that script] as HTML.
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.


Posting Permissions

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