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

745Re: Event and "this"

Expand Messages
  • Peter Michaux
    Apr 3, 2006
      --- 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
    • Show all 2 messages in this topic