Posts: 400
Threads: 88
Joined: Jul 2016
Reputation:
3
Hi there,
I would like to customize the visu of 1 bit object (0 = Auto ; 1 = manual). But in Touch Visualisation (smartphone) I can choose visualisation in checkbox or toggle.
I would like show and manage manual or auto written.
What do you suggest please?
Thanks.
Posts: 400
Threads: 88
Joined: Jul 2016
Reputation:
3
Thank you Daniel,
only to be sure.
The modify about JS is done in additional classes field of the icon of 32/1/1.
Instead modify of CSS is done is Custom CSS of vis.graphic tab. Is it?
If so it does not work.
Thanks.
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
JS is under Scripting ->Tools -> Custom Java Script
PS
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
To see any result you have to open end visualization not editor and Add additional class 'custom' to the button on visu
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Additional class 'custom' is missing
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
In the Visu editor
Attached Files
Thumbnail(s)
------------------------------
Ctrl+F5
Posts: 7760
Threads: 42
Joined: Jun 2015
Reputation:
447
Note that this will only work in Touch visualization, not in the editor.
Posts: 400
Threads: 88
Joined: Jul 2016
Reputation:
3
ooooooooooooook!! Thanks.
Everything is clear now. Custom is the name given to the btn.
Now I have created different name so I can link the any object I want.
I thank you very much for your support.
Regards.
Posts: 7760
Threads: 42
Joined: Jun 2015
Reputation:
447
No problem, keep in mind that you need different additional class for each group addresses if you have several buttons like this.