Displaying 2 results from an estimated 2 matches for "sobrieti".
Did you mean:
sobriety
2005 Oct 18
0
Munging the class attribute: Benchmarks anyone?
In prototype/scriptaculous there are currently two different approaches
to munging the class attribute of HTML elements. Scriptaculous has
Element.Class which recently moved from util.js into effects.js.
Prototype has Element.ClassNames and several convenience functions
around it.
In the past I''ve grown fond of Element.Class, but I''m perfectly willing
to use
2005 Aug 19
13
Enumerations (again): Comments please
Some of my earlier questions may have hinted ever so slightly in the
direction that I''m trying to implement "enumerations". By an
enumeration here I mean a class that has a fixed number of immutable
instances, which in turn have essentially only a name and a position.
Requirements I''ve tried to meet are
- Enumeration instances should only be loaded once from the