> First problem with your scenario is you're sending in a string as the
> superclass, this isn't going to work regardless.

That's what I meant when I said that the syntax is arbitrary :) I
understand that in reality I'll have to use a wrapper function of some
kind, but what kind of a function exactly?

> As a quasi-solution you could use Element.addMethods to implement
> extra functionality to a div object such that you could call your
> highlight method.

It appears that apart from creating custom versions of host objects
(which I haven't been able to do properly yet) that would be the only
method.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to