This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Visualization problem
#6
2. Blink should work for any number of objects/elements.

Use additional class blinker.

Custom JS:
Code:
$(function() {
  $('.blinker').each(function(_, el) {
    var addr = $(el).data('object');
    if (addr) {
      grp.listen(addr, function(obj) {
        $(el).toggleClass('blink', obj.value);
      });
    }
  });
});

Custom CSS:
Code:
@keyframes blinker {
  from {opacity: 1.0;}
  to {opacity: 0.0;}
}
.blink{
  animation-name: blinker;
  animation-duration: 0.6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

3. Any elements placed in a layout will be rendered below any elements in a plan.
Reply


Messages In This Thread
Visualization problem - by AlexLV - 04.08.2022, 17:24
RE: Visualization problem - by Daniel - 04.08.2022, 17:26
RE: Visualization problem - by AlexLV - 04.08.2022, 17:36
RE: Visualization problem - by Daniel - 04.08.2022, 17:41
RE: Visualization problem - by AlexLV - 04.08.2022, 17:57
RE: Visualization problem - by admin - 05.08.2022, 06:24
RE: Visualization problem - by AlexLV - 05.08.2022, 15:41
RE: Visualization problem - by admin - 05.08.2022, 15:53
RE: Visualization problem - by AlexLV - 05.08.2022, 15:56
RE: Visualization problem - by admin - 05.08.2022, 16:28

Forum Jump: