Bonjour, j’aurais voulu savoir si c’étais possible d’ajouter un gif et un son en même temps sur une commande chat ?
var max_seconds = 10;
var img = "http://image.noelshack.com/fichiers/2018/41/7/1539514996-gg.gif";
setTimeout(function() {
$(".img_gif").animate({
opacity: 0
}, 8000, function() { setRefresh(); });
}, (max_seconds*150));
$(".screen_div").html("<img class='img_gif' src='" + img + "' style='position: absolute; right: 100px; bottom: 100px; width: 500px;' />");
Merci