Write an interpretation using js, for example: for a layer, the first time it pops up after 10 seconds, after it is closed, it pops up again after 20 seconds, and after it is closed, it pops up again after 40 seconds. Then it doesn't pop up.
var firstShow = 10000;
var secondShow = 20000;
var threeShow = 400000;
setTimeout(openMpM, firstShow);
function openMpM() {
$("#swtCenter2").fadeIn(1000);
}
var clearAfter = setTimeout(openMpM, secondShow);
var clearAfter1 = setTimeout(openMpM, threeShow);
function closeM() {
$("#swtCenter2").fadeOut(1000);
setTimeout(openMpM, 50000);
}
I just don’t have any ideas. How can I make him stop playing after three times? I hope to write it in detail.
After the last pop-up execution, just clear the timer...
I don’t know if this is possible
Show hidden conditions, add them yourself
Please refer to this, when closing, you need to click to close manually
I simply implemented it, I don’t know if it meets your needs
I got the time wrong, I changed it a little bit, it should be like this