Increase width of IltLink on mouse over

Article ID: 2429
Last updated: 29 May, 2018
Article ID: 2429
Last updated: 29 May, 2018
Revision: 3
Views: 422
Posted: 18 Apr, 2012
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How to ease the selection of links ?

Answer

It is possible to increase the width of the link as soon as the mouse is over it. You can do this by using the css hover properties. As an example, you can define the lineWidth property (when the object is in the normal state and in the hover state) in the Alarm sample (jviews-tgo88samples etworkalarm - see the data etwork.css file):

object."ilog.tgo.model.IltObject" { 
 primaryAlarmState: Raw; 
 labelFont: "arial-plain-12"; 
 labelBackground: ''; 
 interactor: @+objInter; 
 lineWidth: 6; /* Add this code line 220 */ 


object."ilog.tgo.model.IltObject":hover { 
 labelFont: "arial-bold-12"; 
 labelBackground: '#6000FFFF'; 
 lineWidth: 16; /* Add this code line 230 */ 
}

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2429
Last updated: 29 May, 2018
Revision: 3
Views: 422
Posted: 18 Apr, 2012 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category