I'm currently using "The Ultimate getElementsByClassName"
(http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/)
 instead of the Prototype version. This version seems to be faster since it
lets you specify the starting node and  the type of entity. For example:

        var widgets = getElementsByClassName(document, "ol", "tree");

Is there a way to do this within Prototype's version? Looking at the code,
it looks like you may be able to pass the parent node, can anyone verify
this? Is there a benefit to building this same functionality into
Prototype, or is it best to stick with "The Ultimate..." version? I'm at
the beginning of developing a set of reusable GUI components and would like
to minimize dependencies where possible.

Thank you,
Jeff Rankin
Human Factors
544-4333

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to