25.06.2018, 17:57
(25.06.2018, 09:41)admin Wrote: Another solution is to put a masking element above the whole visualization page when object value is true.Thanks you. I will give it a try when i get a chance to log onto site again.
Custom JavaScript:
Code:$(function() { if (typeof grp != 'object') { return; } var mask = $('<div>') .css({ 'position': 'absolute', 'top': 0, 'bottom': 0, 'left': 0, 'right': 0, 'background-color': '#000', 'z-index': 99999, }) .addClass('hide') .appendTo('body'); grp.listen('1/1/1', function(object) { mask.toggleClass('hide', object.value != true); }); });