how to add delay to a function code example
Example: jquery delay to call function
$(this).delay(1000).queue(function() {
// your Code | Function here
$(this).dequeue();
});
$(this).delay(1000).queue(function() {
// your Code | Function here
$(this).dequeue();
});