I Can't Put Some Delay/animation
I have a function to set a top in a div, for show the notices. Now i just want to put a delay to this function (effect), because the 'top' is set to fast, and it's so horrible. var
Solution 1:
I gues what you want here is animate()
to keep a smooth transition, try this:
var rolarbaixo = function() {
var newtop = $('.plugin-noticias-rolar').position().top - 80;
$('.plugin-noticias-rolar').animate({top : newtop + 'px'},800);
}
Post a Comment for "I Can't Put Some Delay/animation"