Eight Weeks of Prototype: Week 1, Beginning with Prototype
Downloading and Installing Prototype
The official home page of Prototype is http://prototypejs.org. You can download the current version (which at time of writing is 126.96.36.199) from the download page at http://prototypejs.org/download. The file you download is called
prototype-188.8.131.52.js, which you then need to save in your web site file structure.
/js, and renamed the file to
prototype.js (meaning you can upgrade Prototype in the future without having to change your HTML).
For example, if your site was
www.example.com the file would be accessible from
Loading Prototype on Your Web Site
/js directory as described above.
In this code listing I have made an alert box appear which shows the version of Prototype loaded using the internal
Prototype Documentation and Resources
The Prototype web site contains extensive API documentation for Prototype, which you should refer to frequently to help with your own development. You can find this documentation at http://prototypejs.org/api.