Could you post a use example?
In this case, I usualy create a simple class not derived from Element
and a maker function to extend DOM elements with this class
prototype.
I am not sure at all it is the best approach but it works and is
relatively easy to maintain.
It looks like this (untested)
On Mar 25, 12:02 am, Glen a...@usa.com wrote:
I would like to use Prototype's class inheritance to derive a class
from Element as below:
The current structure of Element and Class does not support such.
I was wondering if anyone had anything more elegant.
I have the same issue - I want to