On Jan 22, 5:17 am, iporter <[EMAIL PROTECTED]> wrote:
> In the below code, one behaviours object is shared between all popup
> objects when what I'd like is for each popup object, and in fact each
> complexDOM object, to have it's own behaviours object.
You could do worse that start by reading some of Douglas Crockfords
articles:
<URL: http://javascript.crockford.com/javascript.html >
<URL: http://javascript.crockford.com/inheritance.html >
Then try posting to comp.lang.javascript[1] with questions. Once you
understand how javascipt inheritance works and how to use it, you can
then choose which design patterns and libraries suit a particular task
best.
Good luck! :-)
1. <URL: http://groups.google.com.au/group/comp.lang.javascript/topics?hl=en
>
--
Rob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---