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 value from link
#6
Create an Object element mapped to the required group address. Set the Additional classes property to showplan showplan-123 (change 123 to the plan ID that you want to show). Plan ID can be found in the plan properties (Vis. structure). Add to custom JavaScript (Scripting > Tools > Edit custom JavaScript):
Code:
$(function(){
  $('.showplan').on('vclick', function() {
    var matches = this.className.match(/showplan\-(\d+)/);
    if (matches) {
      showPlan(Number(matches[1]));
    }
  });
});
This will only work in the visualization viewer but not in the editor.
Reply


Messages In This Thread
Change value from link - by MarcusH - 09.04.2020, 13:23
RE: Change value from link - by Joep - 10.04.2020, 12:34
RE: Change value from link - by Nathaniel - 23.09.2021, 09:34
RE: Change value from link - by admin - 23.09.2021, 09:38
RE: Change value from link - by Nathaniel - 12.10.2021, 22:35
RE: Change value from link - by admin - 13.10.2021, 06:50

Forum Jump: