Adding delays to the show and hide events are defined with showDelay and hideDelay options respectively.