3
I am using the following jQuery command:
var timer1;
SemConflito("#lp-1").on('mouseover', function(){
clearTimeout(timer1);
timer1 = setTimeout(function(){
SemConflito("#lp-1-hover").stop().slideDown({duration: 400, easing: 'easeInCubic'}); }, 300);
});
The effect is simple, when the user puts the mouse over the div id "lp-1", another div will arise with the effect "slidedown". The problem is that it is catching the effect. The div appears and hangs in the middle, it does not appear completely. There are cases (like in Mozilla) that the div hardly appears.
I don’t know what it is. I really need help..
Remark: That "Semconflict" is a variable I made:
var SemConflito = jQuery.noConflict();
Functional example: http://jsfiddle.net/vn1b4sck/
Explaining better how this effect works: on the site there is a part where appear 4 Divs, side by side. Each div with its own content. When the user hovers over one of them, a new div descends on top of the current one, with new information. When the mouse leaves, the div disappears. The problem is when the user passes the mouse in the div and goes to the other, and it seems to me that in this movement transition, the height of the Uga effect, causing the div to just "go down" until the time it was the last time.
Maybe there is some more practical way or even a simple plugin for this.
firebug check if there is an error in javascript or Chrome, in the javascript console.
– Filipe Moraes