On Jan 17, 2:19 am, "gabriel munteanu" <[email protected]> wrote:
> you could add an event of type mouseover/mouseenter to the container
> of menuCell div, and make the highlight bar disappear upon that event
> too.
>
> jgabios

That did seem to help but after messing around some more, I discovered
that I can fix my problem by changing this:

  $("menuCell").addEvent("mouseleave",function(event) {
    if ($(event.target).get("tag") == "div") {
      $("menuBar").setStyle("display","none");
    }
  });

To this:

  $("menuCell").addEvent("mouseleave",function(event) {
    $("menuBar").setStyle("display","none");
  });

At one point the "if" statement seemed to be necessary.

Reply via email to