=) Sorry. I was talking about using the prototype.js library for object creation and inheritance (it ships with script.aculo.us)
If I had more time today (busy now), I'd write you up an example based on your code. But for now, maybe check into the prototype library... once you learn object oriented javascript, you'll never go back. http://www.sergiopereira.com/articles/prototype.js.html -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom ... Sent: Wednesday, January 11, 2006 3:37 PM To: [email protected] Subject: Re: [Rails-spinoffs] [scriptaculous] Intermitently Disabling Clicks I'm happy with PHP object programming but don't even know where to start in Javascript, let alone extending a class. Tom On 1/12/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: > Oh, now I see. Try creating a separate class that contains that > behavior, and extending each menu div (or whatever element they are), > with that class... then you can use "this" within the functions to check > the locked status of the individual menu. _______________________________________________ Rails-spinoffs mailing list [email protected] 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 [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
