JavaScript: refresh images
@ 19:33
function refresh() {
document.images['imgId'].src = 'img.jpg?' + Math.random();
setTimeout('refresh()',60000);
}
Is it possible to auto-refresh an image every X seconds?
irt.org
function refresh() {
document.images['imgId'].src = 'img.jpg?' + Math.random();
setTimeout('refresh()',60000);
}
Kommentit (0):
Kommentointi on suljettu.