Join Joe Marini for an in-depth discussion in this video Understanding the Prototype event class, part of Prototype and script.aculo.us Essential Training.
- View Offline
- Exercise Files
In this chapter, we're going to learn about working with events in Prototype.…Historically, working with events in a cross- browser environment has been pretty difficult.…This is because different browsers have different ways of implementing…their event models.…Prototype fixes this by unifying the event model among browsers and by making…the event model much simpler to work with.…The way it does this is by introducing an Event class that is implemented…in Prototype itself.…
This Event class abstracts away the various browser differences for working with events.…So, there are three main benefits to working with events in Prototype.…The first is, as I just mentioned, there is a Unified Event Object.…This Unified Event Object provides a single set of methods and properties for…working with events across different kinds of browsers.…There is also a very simple event wiring syntax.…This replaces the more complex DOM functions that are used to listen to…events on elements.…
What they do is they replace the DOM functions with very simple versions of…
- Retrieving and manipulating web page elements
- Handling web page events and creating custom events
- Traversing the DOM
- Creating and handling AJAX requests
- Using script.aculo.us controls such as Autocompleters, Sliders, and Visual Effects
- Building complex page features like data filtering and image rotators
Skill Level Beginner
1. Overview of Prototype
Introducing Prototype4m 59s
2. Retrieving Page Content
4. Working with Collections
5. Using Prototype's DOM Features
6. Working with Events
7. Prototype and AJAX
8. script.aculo.us and Prototype UI
9. Putting It All Together
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.