29.09.2021, 10:33
(29.09.2021, 10:22)khalil Wrote:(29.09.2021, 08:16)admin Wrote: You can find the mapped group address like this: https://forum.logicmachine.net/showthrea...5#pid20275
Thank you admin for advising me to do it by myself.
This is what I did is there any advice?
Code:// Flashing Alert $(function(){ $('.alert').each(function(_, el) { var timer; var addr = $(el).data('object'); if (addr) { grp.listen(addr, function(obj) { if (obj.value) { if (!timer) { timer = setInterval(function() { $('.alert').toggleClass('hide'); }, 500); } } else { $('.alert').removeClass('hide'); clearInterval(timer); timer = null; } }); }; }); });
Thanks for the answers I will try thanks