A
Size: a a a
AP
АЧ
AP
В
function showImage($image, randomFactor = 2) {
let pos = 0;
const int = setInterval(function () {
pos += Math.floor(Math.random() * randomFactor);
if (pos > 100) {
clearInterval(int);
return;
}
$image.css({ transform: `translate(0, ${pos}%)` });
}, 30);
}
S
function showImage($image, randomFactor = 2) {
let pos = 0;
const int = setInterval(function () {
pos += Math.floor(Math.random() * randomFactor);
if (pos > 100) {
clearInterval(int);
return;
}
$image.css({ transform: `translate(0, ${pos}%)` });
}, 30);
}
АЧ
DE
p
p
JA
JA
JA
JA