Take a look at this:
http://img238.imageshack.us/img238/5752/prototypeselectorduplicatesld7.png
The image shows that $$ returns duplicates, is it supposed to do that, or is my CSS/HTML wrong?
I don't understand your image, but glancing at the HTML, I can see that ID node_3_children satisfies $$('#tree .node .nodeChildren') once for nodeID node_1, and again for nodeID node_3.
http://img238.imageshack.us/img238/5752/prototypeselectorduplicatesld7.png
The image shows that $$ returns duplicates, is it supposed to do that, or is my CSS/HTML wrong?
I don't understand your image, but glancing at the HTML, I can see that ID node_3_children satisfies $$('#tree .node .nodeChildren') once for nodeID node_1, and again for nodeID node_3.
Sam
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs