Posts: 422
	Threads: 96
	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: 422
	Threads: 96
	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: 5287
	Threads: 29
	Joined: Aug 2017
	
Reputation: 
237  
	 
 
	
	
		JS is under Scripting ->Tools -> Custom Java Script
PS
	 
	
	
------------------------------ 
Ctrl+F5
	
		
	
 
 
	
	
	
		
	Posts: 5287
	Threads: 29
	Joined: Aug 2017
	
Reputation: 
237  
	 
 
	
	
		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: 5287
	Threads: 29
	Joined: Aug 2017
	
Reputation: 
237  
	 
 
	
	
		Additional class 'custom' is missing
	
	
	
------------------------------ 
Ctrl+F5
	
		
	
 
 
	
	
	
		
	Posts: 5287
	Threads: 29
	Joined: Aug 2017
	
Reputation: 
237  
	 
 
	
	
		In the Visu editor
	
	
Attached Files  
Thumbnail(s)  
    
 
 
	
------------------------------ 
Ctrl+F5
	
		
	
 
 
	
	
	
		
	Posts: 8423
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	 
 
	
	
		Note that this will only work in Touch visualization, not in the editor.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 422
	Threads: 96
	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: 8423
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	 
 
	
	
		No problem, keep in mind that you need different additional class for each group addresses if you have several buttons like this.