30.09.2021, 08:52
(30.09.2021, 07:00)khalil Wrote:Thanks, I inserted the scrap as you just said. How now I enable it after inserting a JavaScript page: Scripting> Tools> Edit custom JavaScript?(29.09.2021, 19:53)Nir70 Wrote:(29.09.2021, 06:12)admin Wrote:Code:1234567891011121314151617181920$(function(){ if (window.grp) { var timer; grp.listen('0/1/24', function(object) { if (object.value) { if (!timer) { timer = setInterval(function() { $('.alert').toggleClass('hide'); }, 1000); } } else { $('.alert').removeClass('hide'); clearInterval(timer); timer = null; } }); }; });
Hello
I entered the script but I have a lot of error messages you can check it again thanks
? p.s my object 1/7/20 thanks
I used the script and its works fine.
do you insert the script in the custom JavaScript page: Scripting> Tools> Edit custom JavaScript