-1

I have a div and when I mouse over that particular div I have a SlideUP animation and on MouseOut i have a slideDown. When I mouseover and mouseout I want the SlideUp to happen completely and then mouseout event should be called.

I am using JavaScriptMVC architecture. Help me solve this.

glenstorey
  • 5,134
  • 5
  • 39
  • 71
Raviteja Avvari
  • 31
  • 1
  • 1
  • 4

1 Answers1

0

This is the basic code for stopping events in javascript:

function doSomething(e)
{
    if (!e) var e = window.event;
    e.cancelBubble = true;
    if (e.stopPropagation) e.stopPropagation();
}

For further information you can see the following pages:

1) Event order

2) Event propagation order with controllers and filtered events.

antonjs
  • 14,060
  • 14
  • 65
  • 91