Loading ...
Sorry, an error occurred while loading the content.

Re: Event and "this"

Expand Messages
  • Peter Michaux
    ... I think I figured it out. YAHOO.util.Event.addListener(this.element, mouseover , this.overHandler, this, true); YAHOO.util.Event.addListener(this.element,
    Message 1 of 2 , Apr 3 6:07 PM
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "Peter Michaux"
      <petermichaux@...> wrote:

      > YAHOO.util.Event.addListener(this.element, "mouseover",
      > this.overHandler, this);
      > YAHOO.util.Event.addListener(this.element, "mouseout",
      > this.outHandler, this);

      I think I figured it out.

      YAHOO.util.Event.addListener(this.element, "mouseover",
      this.overHandler, this, true);
      YAHOO.util.Event.addListener(this.element, "mouseout",
      this.outHandler, this, true);

      Thanks,
      Peter
    Your message has been successfully submitted and would be delivered to recipients shortly.