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.

Change the frame´s icon in Touch visualization
#1
Hello 

Is there any way to change the the frame´s icon when it is showing in Touch visualization??

thank you very much...
Reply
#2
Try this custom JS:

Code:
$(function(){
  $('.control-link').find('.control-icon').find('img').each(function() {
    if ($(this).attr("src").includes('frame.svg')){
      $(this).attr("src", "/scada/resources/icons/auto_1.svg") //new icon
    }
  });
});
Reply
#3
(28.10.2021, 12:56)Erwin van der Zwart Wrote: Try this custom JS:

Code:
$(function(){
  $('.control-link').find('.control-icon').find('img').each(function() {
    if ($(this).attr("src").includes('frame.svg')){
      $(this).attr("src", "/scada/resources/icons/auto_1.svg") //new icon
    }
  });
});

it works...

Thank you very much...
Reply


Forum Jump: