wet,
шифровка из центра ...
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
function f(a) {
a = Math.floor(a);
var b = Math.floor(a / 60),
c = Math.floor(b / 60);
a %= 60;
b %= 60;
return d(c % 24) + ":" + d(b) + ":" + d(a)
}
function d(a) {
return (9 < a ? "" : "0") + a
}
function e() {
$(".gray-line").each(function(a, b) {
var c = $(b).attr("data-sec");
b.timer = c;
$(b).stop().show("fast").animate({
timer: 0
}, {
step: function(a) {
$(b).html(f(a))
},
easing: "linear",
duration: 1E3 * c,
complete: function() {
$(b).hide()
}
})
});
window.setTimeout(e, 1E4)
}
e()
});
</script>
</head>
<body>
<div class="results full-height">
<div id="id1044" class="gray-line" data-sec="06">
( Осталось <span>01:00:00</span>)
</div>
<div id="id12369" class="gray-line" data-sec="3607">
( Осталось <span>01:00:01</span>)
</div>
</div>
</body>
</html>