Page is a not externally linkable
Fotiman - 1:21 pm on Jul 7, 2010 (gmt 0)
Note, in my example I assigned an "event handler" (assigning a function to the onmouseover property of an element, there can only be one). A better approach would be to attach "event listeners" (of which there can be many). If you use any sort of JavaScript framework/library (jQuery, YUI, prototype, etc.), then use the methods defined by that library for attaching event listeners. Otherwise, you might consider rolling your own method for attaching event listeners.