mercredi 22 avril 2015

How do i delay this function [duplicate]

This question already has an answer here:

i have this code

$('html, body').animate({
    scrollTop: $( $.attr(this, 'href') ).offset().top
}, 500);
return false;

But I need a 600ms delay after click the link so my page have chance to perform other actions that I set to 500ms, thank you in advance

Aucun commentaire:

Enregistrer un commentaire