Timer javascript?

990898ce37e54a27a6acfc569141b79c.pngWhen you hover over the slide, an automatic timer should stop and when the hover is removed to continue the countdown. Help pliz!Can and code snippet
July 2nd 19 at 13:40
1 answer
July 2nd 19 at 13:42
var timerSwipe = 0;
timerSwipe = setTimeout(function, 100);

$( "div" ).hover(
 function() {
clearTimeout(timerSwipe);
 }, function() {
 timerSwipe = setTimeout(function, 100);
}
);
it would be nice cecati how long the timer has left, what would zanogo do not wait until the full time of the slide - Bell_Anders commented on July 2nd 19 at 13:45

Find more questions by tags JavaScriptHTML