Font Text - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: Font Text (/showthread.php?tid=5287) |
Font Text - Amelie - 07.03.2024 I have a group dress which can have a value between 12 and 71. Let call it groupadress A. On my visualization, I have an object (other group adress), groupadress B. Can I change the font of B on the visualization, based on the value of A? RE: Font Text - Erwin van der Zwart - 07.03.2024 Something like this should do the trick, give your button a custom class (mycustomclass in this sample) Code: $(function(){ RE: Font Text - admin - 08.03.2024 Here's a working example: Code: $(function() { 32/1/2 is the groups address that sets the size. size is the Additional class of the element where font size should be changed dynamically. RE: Font Text - Amelie - 11.03.2024 Thans you very much. Every time, I am amazed by what is possible with LM. Such a small device with so many possibilities! |