[Proto-Scripty] Re: Class Inheritance from Element

2010-04-12 Thread Eric
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)

[Proto-Scripty] Re: Class Inheritance from Element

2010-04-08 Thread Guss
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