Here are two must-read articles on extending Prototype—here we go: Writing Custom Iterators For Prototype shows how to use the addMethods method of Prototype’s Element object and the comments include a nice $w() method akin to Ruby’s %w() shortcut for creating arrays The DOM Ready Extension for Prototype adds a nice Event.onDOMReady() method (also see … Continue reading Extending Prototype
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed