Ok, cool. Thought it might be something like that. Thanks. 

Btw, I also changed all your "Element.Class.add" and ".remove" calls to
the "Element.addClassName" and ".removeClassName" counterparts, as the
former are also not in proto 1.4.

So having done all that, I got your code to run. It works great. So, now
thanks to all you great list members, I have plenty of options to run
with. Thanks again!!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Joseph Potenza
Sent: Monday, February 27, 2006 3:34 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Calendar widget

Ohhhh yea forgot about my Element.create .... busy day at work, didn't
get a
chance to completely examine the code before posting.

Here's my Element.create - which I use for creating all elements...I
don't
really like the builder syntax for some reason (or maybe I just don't
understand it)

Element.create = function(tag,properties) {
        var element = document.createElement(tag);
        for(var i in properties) {
                element[i] = properties[i];
        }
        return element;
}

Joe Potenza
Lead Developer
BigBuzz Internet Business Solutions
516.845.0702 x314
http://www.bigbuzz.com



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan
Gahl
Sent: Monday, February 27, 2006 4:30 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Calendar widget


Ok, got it. Looking at the code it appears to be very sound. However, I
think you may have built this against an older version of prototype
(older than 1.4. (Or... maybe newer SVN version??)

You make extensive use of a function called Element.create(), which does
not exist in proto 1.4... or was this something you had added to
abstract that function? It won't be very difficult to recreate that
functionality using the Builder module, but just curious...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Joseph Potenza
Sent: Monday, February 27, 2006 3:02 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Calendar widget

Your spam filters check insize zips? Cool.

Here's a link.

http://www.bigjoepo.com/calendarWithPicker.zip



Joe Potenza
Lead Developer
BigBuzz Internet Business Solutions
516.845.0702 x314
http://www.bigbuzz.com



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan
Gahl
Sent: Monday, February 27, 2006 3:20 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Calendar widget


Sorry, Joe, but my company's email filter kills any files with a .js
extension. I wonder if you would mind giving me a link to where I can
download it to check it out (or a live site example), or strip the
extension and try re-sending... Would love to check it out.

Thanks.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Joseph Potenza
Sent: Monday, February 27, 2006 2:09 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Calendar widget

Sorry, what I meant by "it is by no means completed" I meant that it
doesn't
do everything I want it to, but it does give a basic calendar popup with
ability to select a date.  The basics are there.

Joe Potenza
Lead Developer
BigBuzz Internet Business Solutions
516.845.0702 x314
http://www.bigbuzz.com



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joseph
Potenza
Sent: Monday, February 27, 2006 3:08 PM
To: [EMAIL PROTECTED]; rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Calendar widget


I have attached a zip of a Prototype based Calendar/date picker I
created.
There is a JS file and a CSS file.

It is by no means completed, but is extendable, and I am leaving it with
you
to do as you wish (and of course let me know what great improvements you
make to it :)

Create a div or TD or span as your holder for the datepicker.  The
datepicker creates the textbox for you.

This one has no drop downs, but they could easily be added.

Usage:

new DatePicker(
        '[id of text box to create],
        '[id of holder]',
        ,{
                defaultDate:'02/27/06'
        }
);

Joe Potenza
Lead Developer
BigBuzz Internet Business Solutions
516.845.0702 x314
http://www.bigbuzz.com



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin
Marinschek
Sent: Monday, February 27, 2006 3:00 PM
To: Ryan Gahl
Cc: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] Calendar widget


Licensing issues?

I don't think so...

The original code is free in the sense of free, do what you want with
it, and what we added is under the ASL (Apache Software License) -
which is one of the most liberal licenses around.

regards,

Martin


On 2/27/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
> That's perfect, Martin. That's pretty much what I had planned on doing
> as well. It looks like your efforts will save me some time :-).
>
> But I guess we have some licensing things to clear up first. Hmm.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Martin Marinschek
> Sent: Monday, February 27, 2006 1:04 PM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: Re: [Rails-spinoffs] Calendar widget
>
> Ryan,
>
> you might want to help me out on the MyFaces calendar.
>
> http://www.irian.at/myfaces/calendar.jsf
>
> I took the javascript code of -
>
> http://www.dhtmlgoodies.com/scripts/js_calendar/js_calendar.html
> (well, or another source, but it is the same, I know that one ;)
>
> and converted it to something prototype-based. But - I haven't
> finished in the sense of it is all object-oriented, but still not very
> nice code on the inside. If you're interested, contact me.
>
> regards,
>
> Martin
>
> On 2/27/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
> > Michael Peters wrote:
> > > like this?
> > > http://script.spinelz.org/datepicker.html
> >
> > That's a good start. I need something that allows for a drop-down
> > selection of months and years also, as well as easy .css
> > styling/skinning (not sure how far along yours is in this regard)...
> but
> > very nice work.
> >
> > Marco Jaeger wrote:
> > > Maybe it is relatively easy to convert this one:
> > > http://www.dhtmlgoodies.com/scripts/js_calendar/js_calendar.html
> >
> > That is about exactly what I'm looking for. Now to convert it to a
> > prototype object. Thanks again.
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Michael Peters
> > Sent: Monday, February 27, 2006 11:32 AM
> > To: rails-spinoffs@lists.rubyonrails.org
> > Subject: Re: [Rails-spinoffs] Calendar widget
> >
> >
> >
> > Ryan Gahl wrote:
> > > Has anyone made, or does anyone know of, a nice calendar control
> based
> > > on prototype/scriptaculous out there yet? Thanks in advance!
> >
> > like this?
> > http://script.spinelz.org/datepicker.html
> >
> > --
> > Michael Peters
> > Developer
> > Plus Three, LP
> >
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
> > The information transmitted in this electronic mail is intended only
> for the
> > person or entity to which it is addressed and may contain
> confidential,
> > proprietary, and/or privileged material.  Any review,
retransmission,
> > dissemination or other use of, or taking of any action in reliance
> upon,
> > this information by persons or entities other than the intended
> recipient
> > is prohibited. If you received this in error, please contact the
> sender and
> > delete the material from all computers.
> >
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to