I am using jQuery to slide something down and fade something else out, but in testing it, I\'ve noticed that the fading appears too long after the sliding happens. In other
try this
$(document).ready(function(){ $('#trigger').click( function(){ $(this).animate({ opacity: 0.0 },1000); // fade $('#carousel').animate({ top: '100px' }); // slide $('#pullrefresh').css('top', '-490px'); // line 5 $('#detector').hide(); // line 6 }); });
specify the time 1000 for animate