You could try:
http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous
It has some negative comments, but looks like a nice start
On Sep 9, 2007, at 1:50 PM, Nicolás Sanguinetti wrote:
>
> This has been discussed more than once, and the core team always says
> that date functions are not something everybody needs, so they are not
> meant for core (heavy date logic is meant for the server).
>
> Anyway, by the magic of ObjectRange, you already have date ranges :D
> All you need to do is implement Date.prototype.succ to return the
> "next" element in the range.
>
> So, for example
>
> Date.prototype.succ = function() {
> return new Date(this.getFullYear(), this.getMonth(), this.getDate
> () + 1);
> }
>
> will return "tomorrow", and you can do
>
> var start = new Date();
> var end = new Date(this.getFullYear(), this.getMonth(), this.getDate
> () + 7);
>
> $R(start, end) will then generate all the dates in this week.
>
> Best,
> -Nicolas
>
> On 9/9/07, Matt Foster <[EMAIL PROTECTED]> wrote:
>>
>> I just had an idea, this is by no means a suggestion to the core API
>> but... Wouldn't it be nice to have an extension of the Range class to
>> handle a Range of Dates, that could certainly help the implementation
>> of a date chooser!
>>
>>
>>
>> On Sep 9, 2:20 pm, Matt Foster <[EMAIL PROTECTED]> wrote:
>>> Hey Brian,
>>>
>>> What i meant by stay in the DOM was to say that i don't
>>> want to
>>> access anything higher than the document object. pop ups have
>>> been a
>>> very common red flag for me in my quest for the right datechooser.
>>> I'll have to take another look at your example, and see how to
>>> customize.
>>>
>>> On Sep 7, 5:15 pm, "Brian Williams" <[EMAIL PROTECTED]> wrote:
>>>
>>>> at the risk of sounding like a total newb i'm not sure what you
>>>> mean by
>>>> "stay in the same DOM"
>>>
>>>> if you looked at more than the first example you'll see that not
>>>> all of them
>>>> create popup windows.
>>>
>>>> On 9/7/07, Matt Foster <[EMAIL PROTECTED]> wrote:
>>>
>>>>> Hey Guys,
>>>
>>>>> These are great suggestions and right in line with what I
>>>>> asked
>>>>> for, unfortunately Brian's uses a window pop out and i really
>>>>> want to
>>>>> stay in the same DOM, and Ken's is an extension of the dynarch
>>>>> calendar which very well could be the heaviest implementation I've
>>>>> seen. Thanks again guys but I think i'll have to look closer.
>>>
>>>>> Cheers,
>>>>> Matt
>>>
>>>>> On Sep 7, 2:09 pm, "Brian Williams" <[EMAIL PROTECTED]> wrote:
>>>>>> that one looks nice i'll have to give it a shot
>>>
>>>>>> currently using
>>>
>>>>>> http://www.mattkruse.com/javascript/calendarpopup/
>>>
>>>>>> On 9/7/07, Ken Snyder <[EMAIL PROTECTED]> wrote:
>>>
>>>>>>> Matt Foster wrote:
>>>>>>>> Hey Guys,
>>>
>>>>>>>> I am looking for a good datechooser that works with
>>>>>>>> prototype....
>>>>>>> Have you looked athttp://datetime.toolbocks.com/?
>>
>>
>>>
>>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---